import { jsx as ne, Fragment as mr, jsxs as Ms } from "react/jsx-runtime";
import { useNavigate as As, Outlet as Is, useRoutes as Ls } from "react-router";
import * as T from "react";
import q, { createContext as Qr, useContext as we, useEffect as Ne, useRef as ye, cloneElement as vn, forwardRef as uo, useState as Ra, useImperativeHandle as Ds, useLayoutEffect as fo, useMemo as ct, Suspense as Ns, createElement as js } from "react";
import Vs from "react-dom";
import { ProZoomTable as Hs, ZoomLayout as Bs } from "@zoom-design/zoom-design-demo";
import { Spin as zs, theme as Be, ConfigProvider as or } from "antd";
import { HashRouter as Ws } from "react-router-dom";
import go from "dayjs";
function Ye() {
  return Ye = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, Ye.apply(this, arguments);
}
var Us = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
const qs = Us;
function po(e) {
  if (Array.isArray(e))
    return e;
}
function Gs(e, t) {
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r != null) {
    var n, a, i, o, l = [], s = !0, c = !1;
    try {
      if (i = (r = r.call(e)).next, t === 0) {
        if (Object(r) !== r)
          return;
        s = !1;
      } else
        for (; !(s = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); s = !0)
          ;
    } catch (u) {
      c = !0, a = u;
    } finally {
      try {
        if (!s && r.return != null && (o = r.return(), Object(o) !== o))
          return;
      } finally {
        if (c)
          throw a;
      }
    }
    return l;
  }
}
function Vn(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function Jr(e, t) {
  if (e) {
    if (typeof e == "string")
      return Vn(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return Vn(e, t);
  }
}
function mo() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function U(e, t) {
  return po(e) || Gs(e, t) || Jr(e, t) || mo();
}
function J(e) {
  "@babel/helpers - typeof";
  return J = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, J(e);
}
function Ys(e, t) {
  if (J(e) != "object" || !e)
    return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (J(n) != "object")
      return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
function vo(e) {
  var t = Ys(e, "string");
  return J(t) == "symbol" ? t : String(t);
}
function w(e, t, r) {
  return t = vo(t), t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
function Ks(e, t) {
  if (e == null)
    return {};
  var r = {}, n = Object.keys(e), a, i;
  for (i = 0; i < n.length; i++)
    a = n[i], !(t.indexOf(a) >= 0) && (r[a] = e[a]);
  return r;
}
function je(e, t) {
  if (e == null)
    return {};
  var r = Ks(e, t), n, a;
  if (Object.getOwnPropertySymbols) {
    var i = Object.getOwnPropertySymbols(e);
    for (a = 0; a < i.length; a++)
      n = i[a], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
  }
  return r;
}
var Xs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function ho(e) {
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var bo = { exports: {} };
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/
(function(e) {
  (function() {
    var t = {}.hasOwnProperty;
    function r() {
      for (var i = "", o = 0; o < arguments.length; o++) {
        var l = arguments[o];
        l && (i = a(i, n(l)));
      }
      return i;
    }
    function n(i) {
      if (typeof i == "string" || typeof i == "number")
        return i;
      if (typeof i != "object")
        return "";
      if (Array.isArray(i))
        return r.apply(null, i);
      if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
        return i.toString();
      var o = "";
      for (var l in i)
        t.call(i, l) && i[l] && (o = a(o, l));
      return o;
    }
    function a(i, o) {
      return o ? i ? i + " " + o : i + o : i;
    }
    e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
  })();
})(bo);
var Zs = bo.exports;
const pe = /* @__PURE__ */ ho(Zs);
function be(e, t) {
  Qs(e) && (e = "100%");
  var r = Js(e);
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), r && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
}
function Tr(e) {
  return Math.min(1, Math.max(0, e));
}
function Qs(e) {
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
}
function Js(e) {
  return typeof e == "string" && e.indexOf("%") !== -1;
}
function yo(e) {
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
}
function Pr(e) {
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
}
function yt(e) {
  return e.length === 1 ? "0" + e : String(e);
}
function ec(e, t, r) {
  return {
    r: be(e, 255) * 255,
    g: be(t, 255) * 255,
    b: be(r, 255) * 255
  };
}
function Ja(e, t, r) {
  e = be(e, 255), t = be(t, 255), r = be(r, 255);
  var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = 0, l = (n + a) / 2;
  if (n === a)
    o = 0, i = 0;
  else {
    var s = n - a;
    switch (o = l > 0.5 ? s / (2 - n - a) : s / (n + a), n) {
      case e:
        i = (t - r) / s + (t < r ? 6 : 0);
        break;
      case t:
        i = (r - e) / s + 2;
        break;
      case r:
        i = (e - t) / s + 4;
        break;
    }
    i /= 6;
  }
  return { h: i, s: o, l };
}
function hn(e, t, r) {
  return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
}
function tc(e, t, r) {
  var n, a, i;
  if (e = be(e, 360), t = be(t, 100), r = be(r, 100), t === 0)
    a = r, i = r, n = r;
  else {
    var o = r < 0.5 ? r * (1 + t) : r + t - r * t, l = 2 * r - o;
    n = hn(l, o, e + 1 / 3), a = hn(l, o, e), i = hn(l, o, e - 1 / 3);
  }
  return { r: n * 255, g: a * 255, b: i * 255 };
}
function Hn(e, t, r) {
  e = be(e, 255), t = be(t, 255), r = be(r, 255);
  var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = n, l = n - a, s = n === 0 ? 0 : l / n;
  if (n === a)
    i = 0;
  else {
    switch (n) {
      case e:
        i = (t - r) / l + (t < r ? 6 : 0);
        break;
      case t:
        i = (r - e) / l + 2;
        break;
      case r:
        i = (e - t) / l + 4;
        break;
    }
    i /= 6;
  }
  return { h: i, s, v: o };
}
function rc(e, t, r) {
  e = be(e, 360) * 6, t = be(t, 100), r = be(r, 100);
  var n = Math.floor(e), a = e - n, i = r * (1 - t), o = r * (1 - a * t), l = r * (1 - (1 - a) * t), s = n % 6, c = [r, o, i, i, l, r][s], u = [l, r, r, o, i, i][s], d = [i, i, l, r, r, o][s];
  return { r: c * 255, g: u * 255, b: d * 255 };
}
function Bn(e, t, r, n) {
  var a = [
    yt(Math.round(e).toString(16)),
    yt(Math.round(t).toString(16)),
    yt(Math.round(r).toString(16))
  ];
  return n && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
}
function nc(e, t, r, n, a) {
  var i = [
    yt(Math.round(e).toString(16)),
    yt(Math.round(t).toString(16)),
    yt(Math.round(r).toString(16)),
    yt(ac(n))
  ];
  return a && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
}
function ac(e) {
  return Math.round(parseFloat(e) * 255).toString(16);
}
function ei(e) {
  return ke(e) / 255;
}
function ke(e) {
  return parseInt(e, 16);
}
function ic(e) {
  return {
    r: e >> 16,
    g: (e & 65280) >> 8,
    b: e & 255
  };
}
var zn = {
  aliceblue: "#f0f8ff",
  antiquewhite: "#faebd7",
  aqua: "#00ffff",
  aquamarine: "#7fffd4",
  azure: "#f0ffff",
  beige: "#f5f5dc",
  bisque: "#ffe4c4",
  black: "#000000",
  blanchedalmond: "#ffebcd",
  blue: "#0000ff",
  blueviolet: "#8a2be2",
  brown: "#a52a2a",
  burlywood: "#deb887",
  cadetblue: "#5f9ea0",
  chartreuse: "#7fff00",
  chocolate: "#d2691e",
  coral: "#ff7f50",
  cornflowerblue: "#6495ed",
  cornsilk: "#fff8dc",
  crimson: "#dc143c",
  cyan: "#00ffff",
  darkblue: "#00008b",
  darkcyan: "#008b8b",
  darkgoldenrod: "#b8860b",
  darkgray: "#a9a9a9",
  darkgreen: "#006400",
  darkgrey: "#a9a9a9",
  darkkhaki: "#bdb76b",
  darkmagenta: "#8b008b",
  darkolivegreen: "#556b2f",
  darkorange: "#ff8c00",
  darkorchid: "#9932cc",
  darkred: "#8b0000",
  darksalmon: "#e9967a",
  darkseagreen: "#8fbc8f",
  darkslateblue: "#483d8b",
  darkslategray: "#2f4f4f",
  darkslategrey: "#2f4f4f",
  darkturquoise: "#00ced1",
  darkviolet: "#9400d3",
  deeppink: "#ff1493",
  deepskyblue: "#00bfff",
  dimgray: "#696969",
  dimgrey: "#696969",
  dodgerblue: "#1e90ff",
  firebrick: "#b22222",
  floralwhite: "#fffaf0",
  forestgreen: "#228b22",
  fuchsia: "#ff00ff",
  gainsboro: "#dcdcdc",
  ghostwhite: "#f8f8ff",
  goldenrod: "#daa520",
  gold: "#ffd700",
  gray: "#808080",
  green: "#008000",
  greenyellow: "#adff2f",
  grey: "#808080",
  honeydew: "#f0fff0",
  hotpink: "#ff69b4",
  indianred: "#cd5c5c",
  indigo: "#4b0082",
  ivory: "#fffff0",
  khaki: "#f0e68c",
  lavenderblush: "#fff0f5",
  lavender: "#e6e6fa",
  lawngreen: "#7cfc00",
  lemonchiffon: "#fffacd",
  lightblue: "#add8e6",
  lightcoral: "#f08080",
  lightcyan: "#e0ffff",
  lightgoldenrodyellow: "#fafad2",
  lightgray: "#d3d3d3",
  lightgreen: "#90ee90",
  lightgrey: "#d3d3d3",
  lightpink: "#ffb6c1",
  lightsalmon: "#ffa07a",
  lightseagreen: "#20b2aa",
  lightskyblue: "#87cefa",
  lightslategray: "#778899",
  lightslategrey: "#778899",
  lightsteelblue: "#b0c4de",
  lightyellow: "#ffffe0",
  lime: "#00ff00",
  limegreen: "#32cd32",
  linen: "#faf0e6",
  magenta: "#ff00ff",
  maroon: "#800000",
  mediumaquamarine: "#66cdaa",
  mediumblue: "#0000cd",
  mediumorchid: "#ba55d3",
  mediumpurple: "#9370db",
  mediumseagreen: "#3cb371",
  mediumslateblue: "#7b68ee",
  mediumspringgreen: "#00fa9a",
  mediumturquoise: "#48d1cc",
  mediumvioletred: "#c71585",
  midnightblue: "#191970",
  mintcream: "#f5fffa",
  mistyrose: "#ffe4e1",
  moccasin: "#ffe4b5",
  navajowhite: "#ffdead",
  navy: "#000080",
  oldlace: "#fdf5e6",
  olive: "#808000",
  olivedrab: "#6b8e23",
  orange: "#ffa500",
  orangered: "#ff4500",
  orchid: "#da70d6",
  palegoldenrod: "#eee8aa",
  palegreen: "#98fb98",
  paleturquoise: "#afeeee",
  palevioletred: "#db7093",
  papayawhip: "#ffefd5",
  peachpuff: "#ffdab9",
  peru: "#cd853f",
  pink: "#ffc0cb",
  plum: "#dda0dd",
  powderblue: "#b0e0e6",
  purple: "#800080",
  rebeccapurple: "#663399",
  red: "#ff0000",
  rosybrown: "#bc8f8f",
  royalblue: "#4169e1",
  saddlebrown: "#8b4513",
  salmon: "#fa8072",
  sandybrown: "#f4a460",
  seagreen: "#2e8b57",
  seashell: "#fff5ee",
  sienna: "#a0522d",
  silver: "#c0c0c0",
  skyblue: "#87ceeb",
  slateblue: "#6a5acd",
  slategray: "#708090",
  slategrey: "#708090",
  snow: "#fffafa",
  springgreen: "#00ff7f",
  steelblue: "#4682b4",
  tan: "#d2b48c",
  teal: "#008080",
  thistle: "#d8bfd8",
  tomato: "#ff6347",
  turquoise: "#40e0d0",
  violet: "#ee82ee",
  wheat: "#f5deb3",
  white: "#ffffff",
  whitesmoke: "#f5f5f5",
  yellow: "#ffff00",
  yellowgreen: "#9acd32"
};
function Mt(e) {
  var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, i = null, o = !1, l = !1;
  return typeof e == "string" && (e = sc(e)), typeof e == "object" && (it(e.r) && it(e.g) && it(e.b) ? (t = ec(e.r, e.g, e.b), o = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : it(e.h) && it(e.s) && it(e.v) ? (n = Pr(e.s), a = Pr(e.v), t = rc(e.h, n, a), o = !0, l = "hsv") : it(e.h) && it(e.s) && it(e.l) && (n = Pr(e.s), i = Pr(e.l), t = tc(e.h, n, i), o = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = yo(r), {
    ok: o,
    format: e.format || l,
    r: Math.min(255, Math.max(t.r, 0)),
    g: Math.min(255, Math.max(t.g, 0)),
    b: Math.min(255, Math.max(t.b, 0)),
    a: r
  };
}
var oc = "[-\\+]?\\d+%?", lc = "[-\\+]?\\d*\\.\\d+%?", ft = "(?:".concat(lc, ")|(?:").concat(oc, ")"), bn = "[\\s|\\(]+(".concat(ft, ")[,|\\s]+(").concat(ft, ")[,|\\s]+(").concat(ft, ")\\s*\\)?"), yn = "[\\s|\\(]+(".concat(ft, ")[,|\\s]+(").concat(ft, ")[,|\\s]+(").concat(ft, ")[,|\\s]+(").concat(ft, ")\\s*\\)?"), He = {
  CSS_UNIT: new RegExp(ft),
  rgb: new RegExp("rgb" + bn),
  rgba: new RegExp("rgba" + yn),
  hsl: new RegExp("hsl" + bn),
  hsla: new RegExp("hsla" + yn),
  hsv: new RegExp("hsv" + bn),
  hsva: new RegExp("hsva" + yn),
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
};
function sc(e) {
  if (e = e.trim().toLowerCase(), e.length === 0)
    return !1;
  var t = !1;
  if (zn[e])
    e = zn[e], t = !0;
  else if (e === "transparent")
    return { r: 0, g: 0, b: 0, a: 0, format: "name" };
  var r = He.rgb.exec(e);
  return r ? { r: r[1], g: r[2], b: r[3] } : (r = He.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = He.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = He.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = He.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = He.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = He.hex8.exec(e), r ? {
    r: ke(r[1]),
    g: ke(r[2]),
    b: ke(r[3]),
    a: ei(r[4]),
    format: t ? "name" : "hex8"
  } : (r = He.hex6.exec(e), r ? {
    r: ke(r[1]),
    g: ke(r[2]),
    b: ke(r[3]),
    format: t ? "name" : "hex"
  } : (r = He.hex4.exec(e), r ? {
    r: ke(r[1] + r[1]),
    g: ke(r[2] + r[2]),
    b: ke(r[3] + r[3]),
    a: ei(r[4] + r[4]),
    format: t ? "name" : "hex8"
  } : (r = He.hex3.exec(e), r ? {
    r: ke(r[1] + r[1]),
    g: ke(r[2] + r[2]),
    b: ke(r[3] + r[3]),
    format: t ? "name" : "hex"
  } : !1)))))))));
}
function it(e) {
  return !!He.CSS_UNIT.exec(String(e));
}
var Te = (
  /** @class */
  function() {
    function e(t, r) {
      t === void 0 && (t = ""), r === void 0 && (r = {});
      var n;
      if (t instanceof e)
        return t;
      typeof t == "number" && (t = ic(t)), this.originalInput = t;
      var a = Mt(t);
      this.originalInput = t, this.r = a.r, this.g = a.g, this.b = a.b, this.a = a.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (n = r.format) !== null && n !== void 0 ? n : a.format, this.gradientType = r.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = a.ok;
    }
    return e.prototype.isDark = function() {
      return this.getBrightness() < 128;
    }, e.prototype.isLight = function() {
      return !this.isDark();
    }, e.prototype.getBrightness = function() {
      var t = this.toRgb();
      return (t.r * 299 + t.g * 587 + t.b * 114) / 1e3;
    }, e.prototype.getLuminance = function() {
      var t = this.toRgb(), r, n, a, i = t.r / 255, o = t.g / 255, l = t.b / 255;
      return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), o <= 0.03928 ? n = o / 12.92 : n = Math.pow((o + 0.055) / 1.055, 2.4), l <= 0.03928 ? a = l / 12.92 : a = Math.pow((l + 0.055) / 1.055, 2.4), 0.2126 * r + 0.7152 * n + 0.0722 * a;
    }, e.prototype.getAlpha = function() {
      return this.a;
    }, e.prototype.setAlpha = function(t) {
      return this.a = yo(t), this.roundA = Math.round(100 * this.a) / 100, this;
    }, e.prototype.isMonochrome = function() {
      var t = this.toHsl().s;
      return t === 0;
    }, e.prototype.toHsv = function() {
      var t = Hn(this.r, this.g, this.b);
      return { h: t.h * 360, s: t.s, v: t.v, a: this.a };
    }, e.prototype.toHsvString = function() {
      var t = Hn(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.v * 100);
      return this.a === 1 ? "hsv(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsva(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
    }, e.prototype.toHsl = function() {
      var t = Ja(this.r, this.g, this.b);
      return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
    }, e.prototype.toHslString = function() {
      var t = Ja(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.l * 100);
      return this.a === 1 ? "hsl(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsla(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
    }, e.prototype.toHex = function(t) {
      return t === void 0 && (t = !1), Bn(this.r, this.g, this.b, t);
    }, e.prototype.toHexString = function(t) {
      return t === void 0 && (t = !1), "#" + this.toHex(t);
    }, e.prototype.toHex8 = function(t) {
      return t === void 0 && (t = !1), nc(this.r, this.g, this.b, this.a, t);
    }, e.prototype.toHex8String = function(t) {
      return t === void 0 && (t = !1), "#" + this.toHex8(t);
    }, e.prototype.toHexShortString = function(t) {
      return t === void 0 && (t = !1), this.a === 1 ? this.toHexString(t) : this.toHex8String(t);
    }, e.prototype.toRgb = function() {
      return {
        r: Math.round(this.r),
        g: Math.round(this.g),
        b: Math.round(this.b),
        a: this.a
      };
    }, e.prototype.toRgbString = function() {
      var t = Math.round(this.r), r = Math.round(this.g), n = Math.round(this.b);
      return this.a === 1 ? "rgb(".concat(t, ", ").concat(r, ", ").concat(n, ")") : "rgba(".concat(t, ", ").concat(r, ", ").concat(n, ", ").concat(this.roundA, ")");
    }, e.prototype.toPercentageRgb = function() {
      var t = function(r) {
        return "".concat(Math.round(be(r, 255) * 100), "%");
      };
      return {
        r: t(this.r),
        g: t(this.g),
        b: t(this.b),
        a: this.a
      };
    }, e.prototype.toPercentageRgbString = function() {
      var t = function(r) {
        return Math.round(be(r, 255) * 100);
      };
      return this.a === 1 ? "rgb(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%)") : "rgba(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%, ").concat(this.roundA, ")");
    }, e.prototype.toName = function() {
      if (this.a === 0)
        return "transparent";
      if (this.a < 1)
        return !1;
      for (var t = "#" + Bn(this.r, this.g, this.b, !1), r = 0, n = Object.entries(zn); r < n.length; r++) {
        var a = n[r], i = a[0], o = a[1];
        if (t === o)
          return i;
      }
      return !1;
    }, e.prototype.toString = function(t) {
      var r = !!t;
      t = t ?? this.format;
      var n = !1, a = this.a < 1 && this.a >= 0, i = !r && a && (t.startsWith("hex") || t === "name");
      return i ? t === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (t === "rgb" && (n = this.toRgbString()), t === "prgb" && (n = this.toPercentageRgbString()), (t === "hex" || t === "hex6") && (n = this.toHexString()), t === "hex3" && (n = this.toHexString(!0)), t === "hex4" && (n = this.toHex8String(!0)), t === "hex8" && (n = this.toHex8String()), t === "name" && (n = this.toName()), t === "hsl" && (n = this.toHslString()), t === "hsv" && (n = this.toHsvString()), n || this.toHexString());
    }, e.prototype.toNumber = function() {
      return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
    }, e.prototype.clone = function() {
      return new e(this.toString());
    }, e.prototype.lighten = function(t) {
      t === void 0 && (t = 10);
      var r = this.toHsl();
      return r.l += t / 100, r.l = Tr(r.l), new e(r);
    }, e.prototype.brighten = function(t) {
      t === void 0 && (t = 10);
      var r = this.toRgb();
      return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(t / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(t / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(t / 100)))), new e(r);
    }, e.prototype.darken = function(t) {
      t === void 0 && (t = 10);
      var r = this.toHsl();
      return r.l -= t / 100, r.l = Tr(r.l), new e(r);
    }, e.prototype.tint = function(t) {
      return t === void 0 && (t = 10), this.mix("white", t);
    }, e.prototype.shade = function(t) {
      return t === void 0 && (t = 10), this.mix("black", t);
    }, e.prototype.desaturate = function(t) {
      t === void 0 && (t = 10);
      var r = this.toHsl();
      return r.s -= t / 100, r.s = Tr(r.s), new e(r);
    }, e.prototype.saturate = function(t) {
      t === void 0 && (t = 10);
      var r = this.toHsl();
      return r.s += t / 100, r.s = Tr(r.s), new e(r);
    }, e.prototype.greyscale = function() {
      return this.desaturate(100);
    }, e.prototype.spin = function(t) {
      var r = this.toHsl(), n = (r.h + t) % 360;
      return r.h = n < 0 ? 360 + n : n, new e(r);
    }, e.prototype.mix = function(t, r) {
      r === void 0 && (r = 50);
      var n = this.toRgb(), a = new e(t).toRgb(), i = r / 100, o = {
        r: (a.r - n.r) * i + n.r,
        g: (a.g - n.g) * i + n.g,
        b: (a.b - n.b) * i + n.b,
        a: (a.a - n.a) * i + n.a
      };
      return new e(o);
    }, e.prototype.analogous = function(t, r) {
      t === void 0 && (t = 6), r === void 0 && (r = 30);
      var n = this.toHsl(), a = 360 / r, i = [this];
      for (n.h = (n.h - (a * t >> 1) + 720) % 360; --t; )
        n.h = (n.h + a) % 360, i.push(new e(n));
      return i;
    }, e.prototype.complement = function() {
      var t = this.toHsl();
      return t.h = (t.h + 180) % 360, new e(t);
    }, e.prototype.monochromatic = function(t) {
      t === void 0 && (t = 6);
      for (var r = this.toHsv(), n = r.h, a = r.s, i = r.v, o = [], l = 1 / t; t--; )
        o.push(new e({ h: n, s: a, v: i })), i = (i + l) % 1;
      return o;
    }, e.prototype.splitcomplement = function() {
      var t = this.toHsl(), r = t.h;
      return [
        this,
        new e({ h: (r + 72) % 360, s: t.s, l: t.l }),
        new e({ h: (r + 216) % 360, s: t.s, l: t.l })
      ];
    }, e.prototype.onBackground = function(t) {
      var r = this.toRgb(), n = new e(t).toRgb(), a = r.a + n.a * (1 - r.a);
      return new e({
        r: (r.r * r.a + n.r * n.a * (1 - r.a)) / a,
        g: (r.g * r.a + n.g * n.a * (1 - r.a)) / a,
        b: (r.b * r.a + n.b * n.a * (1 - r.a)) / a,
        a
      });
    }, e.prototype.triad = function() {
      return this.polyad(3);
    }, e.prototype.tetrad = function() {
      return this.polyad(4);
    }, e.prototype.polyad = function(t) {
      for (var r = this.toHsl(), n = r.h, a = [this], i = 360 / t, o = 1; o < t; o++)
        a.push(new e({ h: (n + o * i) % 360, s: r.s, l: r.l }));
      return a;
    }, e.prototype.equals = function(t) {
      return this.toRgbString() === new e(t).toRgbString();
    }, e;
  }()
), Fr = 2, ti = 0.16, cc = 0.05, uc = 0.05, dc = 0.15, So = 5, xo = 4, fc = [{
  index: 7,
  opacity: 0.15
}, {
  index: 6,
  opacity: 0.25
}, {
  index: 5,
  opacity: 0.3
}, {
  index: 5,
  opacity: 0.45
}, {
  index: 5,
  opacity: 0.65
}, {
  index: 5,
  opacity: 0.85
}, {
  index: 4,
  opacity: 0.9
}, {
  index: 3,
  opacity: 0.95
}, {
  index: 2,
  opacity: 0.97
}, {
  index: 1,
  opacity: 0.98
}];
function ri(e) {
  var t = e.r, r = e.g, n = e.b, a = Hn(t, r, n);
  return {
    h: a.h * 360,
    s: a.s,
    v: a.v
  };
}
function $r(e) {
  var t = e.r, r = e.g, n = e.b;
  return "#".concat(Bn(t, r, n, !1));
}
function gc(e, t, r) {
  var n = r / 100, a = {
    r: (t.r - e.r) * n + e.r,
    g: (t.g - e.g) * n + e.g,
    b: (t.b - e.b) * n + e.b
  };
  return a;
}
function ni(e, t, r) {
  var n;
  return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? n = r ? Math.round(e.h) - Fr * t : Math.round(e.h) + Fr * t : n = r ? Math.round(e.h) + Fr * t : Math.round(e.h) - Fr * t, n < 0 ? n += 360 : n >= 360 && (n -= 360), n;
}
function ai(e, t, r) {
  if (e.h === 0 && e.s === 0)
    return e.s;
  var n;
  return r ? n = e.s - ti * t : t === xo ? n = e.s + ti : n = e.s + cc * t, n > 1 && (n = 1), r && t === So && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Number(n.toFixed(2));
}
function ii(e, t, r) {
  var n;
  return r ? n = e.v + uc * t : n = e.v - dc * t, n > 1 && (n = 1), Number(n.toFixed(2));
}
function Tt(e) {
  for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], n = Mt(e), a = So; a > 0; a -= 1) {
    var i = ri(n), o = $r(Mt({
      h: ni(i, a, !0),
      s: ai(i, a, !0),
      v: ii(i, a, !0)
    }));
    r.push(o);
  }
  r.push($r(n));
  for (var l = 1; l <= xo; l += 1) {
    var s = ri(n), c = $r(Mt({
      h: ni(s, l),
      s: ai(s, l),
      v: ii(s, l)
    }));
    r.push(c);
  }
  return t.theme === "dark" ? fc.map(function(u) {
    var d = u.index, f = u.opacity, h = $r(gc(Mt(t.backgroundColor || "#141414"), Mt(r[d]), f * 100));
    return h;
  }) : r;
}
var Sn = {
  red: "#F5222D",
  volcano: "#FA541C",
  orange: "#FA8C16",
  gold: "#FAAD14",
  yellow: "#FADB14",
  lime: "#A0D911",
  green: "#52C41A",
  cyan: "#13C2C2",
  blue: "#1677FF",
  geekblue: "#2F54EB",
  purple: "#722ED1",
  magenta: "#EB2F96",
  grey: "#666666"
}, Nr = {}, xn = {};
Object.keys(Sn).forEach(function(e) {
  Nr[e] = Tt(Sn[e]), Nr[e].primary = Nr[e][5], xn[e] = Tt(Sn[e], {
    theme: "dark",
    backgroundColor: "#141414"
  }), xn[e].primary = xn[e][5];
});
var pc = Nr.blue, mc = /* @__PURE__ */ Qr({});
const _a = mc;
function oi(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(a) {
      return Object.getOwnPropertyDescriptor(e, a).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function F(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? oi(Object(r), !0).forEach(function(n) {
      w(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : oi(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function nt() {
  return !!(typeof window < "u" && window.document && window.document.createElement);
}
function vc(e, t) {
  if (!e)
    return !1;
  if (e.contains)
    return e.contains(t);
  for (var r = t; r; ) {
    if (r === e)
      return !0;
    r = r.parentNode;
  }
  return !1;
}
var li = "data-rc-order", si = "data-rc-priority", hc = "rc-util-key", Wn = /* @__PURE__ */ new Map();
function Eo() {
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
  return t ? t.startsWith("data-") ? t : "data-".concat(t) : hc;
}
function en(e) {
  if (e.attachTo)
    return e.attachTo;
  var t = document.querySelector("head");
  return t || document.body;
}
function bc(e) {
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
}
function Co(e) {
  return Array.from((Wn.get(e) || e).children).filter(function(t) {
    return t.tagName === "STYLE";
  });
}
function wo(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
  if (!nt())
    return null;
  var r = t.csp, n = t.prepend, a = t.priority, i = a === void 0 ? 0 : a, o = bc(n), l = o === "prependQueue", s = document.createElement("style");
  s.setAttribute(li, o), l && i && s.setAttribute(si, "".concat(i)), r != null && r.nonce && (s.nonce = r == null ? void 0 : r.nonce), s.innerHTML = e;
  var c = en(t), u = c.firstChild;
  if (n) {
    if (l) {
      var d = Co(c).filter(function(f) {
        if (!["prepend", "prependQueue"].includes(f.getAttribute(li)))
          return !1;
        var h = Number(f.getAttribute(si) || 0);
        return i >= h;
      });
      if (d.length)
        return c.insertBefore(s, d[d.length - 1].nextSibling), s;
    }
    c.insertBefore(s, u);
  } else
    c.appendChild(s);
  return s;
}
function To(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = en(t);
  return Co(r).find(function(n) {
    return n.getAttribute(Eo(t)) === e;
  });
}
function ka(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = To(e, t);
  if (r) {
    var n = en(t);
    n.removeChild(r);
  }
}
function yc(e, t) {
  var r = Wn.get(e);
  if (!r || !vc(document, r)) {
    var n = wo("", t), a = n.parentNode;
    Wn.set(e, a), e.removeChild(n);
  }
}
function Pt(e, t) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = en(r);
  yc(n, r);
  var a = To(t, r);
  if (a) {
    var i, o;
    if ((i = r.csp) !== null && i !== void 0 && i.nonce && a.nonce !== ((o = r.csp) === null || o === void 0 ? void 0 : o.nonce)) {
      var l;
      a.nonce = (l = r.csp) === null || l === void 0 ? void 0 : l.nonce;
    }
    return a.innerHTML !== e && (a.innerHTML = e), a;
  }
  var s = wo(e, r);
  return s.setAttribute(Eo(r), t), s;
}
function Po(e) {
  var t;
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
}
function Sc(e) {
  return Po(e) instanceof ShadowRoot;
}
function xc(e) {
  return Sc(e) ? Po(e) : null;
}
var Un = {}, Ma = [], Ec = function(t) {
  Ma.push(t);
};
function Aa(e, t) {
  if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
    var r = Ma.reduce(function(n, a) {
      return a(n ?? "", "warning");
    }, t);
    r && console.error("Warning: ".concat(r));
  }
}
function Cc(e, t) {
  if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
    var r = Ma.reduce(function(n, a) {
      return a(n ?? "", "note");
    }, t);
    r && console.warn("Note: ".concat(r));
  }
}
function Fo() {
  Un = {};
}
function $o(e, t, r) {
  !t && !Un[r] && (e(!1, r), Un[r] = !0);
}
function ce(e, t) {
  $o(Aa, e, t);
}
function wc(e, t) {
  $o(Cc, e, t);
}
ce.preMessage = Ec;
ce.resetWarned = Fo;
ce.noteOnce = wc;
function Tc(e) {
  return e.replace(/-(.)/g, function(t, r) {
    return r.toUpperCase();
  });
}
function Pc(e, t) {
  ce(e, "[@ant-design/icons] ".concat(t));
}
function ci(e) {
  return J(e) === "object" && typeof e.name == "string" && typeof e.theme == "string" && (J(e.icon) === "object" || typeof e.icon == "function");
}
function ui() {
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
  return Object.keys(e).reduce(function(t, r) {
    var n = e[r];
    switch (r) {
      case "class":
        t.className = n, delete t.class;
        break;
      default:
        delete t[r], t[Tc(r)] = n;
    }
    return t;
  }, {});
}
function qn(e, t, r) {
  return r ? /* @__PURE__ */ q.createElement(e.tag, F(F({
    key: t
  }, ui(e.attrs)), r), (e.children || []).map(function(n, a) {
    return qn(n, "".concat(t, "-").concat(e.tag, "-").concat(a));
  })) : /* @__PURE__ */ q.createElement(e.tag, F({
    key: t
  }, ui(e.attrs)), (e.children || []).map(function(n, a) {
    return qn(n, "".concat(t, "-").concat(e.tag, "-").concat(a));
  }));
}
function Oo(e) {
  return Tt(e)[0];
}
function Ro(e) {
  return e ? Array.isArray(e) ? e : [e] : [];
}
var Fc = `
.anticon {
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -0.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.anticon > * {
  line-height: 1;
}

.anticon svg {
  display: inline-block;
}

.anticon::before {
  display: none;
}

.anticon .anticon-icon {
  display: block;
}

.anticon[tabindex] {
  cursor: pointer;
}

.anticon-spin::before,
.anticon-spin {
  display: inline-block;
  -webkit-animation: loadingCircle 1s infinite linear;
  animation: loadingCircle 1s infinite linear;
}

@-webkit-keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
`, $c = function(t) {
  var r = we(_a), n = r.csp, a = r.prefixCls, i = Fc;
  a && (i = i.replace(/anticon/g, a)), Ne(function() {
    var o = t.current, l = xc(o);
    Pt(i, "@ant-design-icons", {
      prepend: !0,
      csp: n,
      attachTo: l
    });
  }, []);
}, Oc = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], rr = {
  primaryColor: "#333",
  secondaryColor: "#E6E6E6",
  calculated: !1
};
function Rc(e) {
  var t = e.primaryColor, r = e.secondaryColor;
  rr.primaryColor = t, rr.secondaryColor = r || Oo(t), rr.calculated = !!r;
}
function _c() {
  return F({}, rr);
}
var tn = function(t) {
  var r = t.icon, n = t.className, a = t.onClick, i = t.style, o = t.primaryColor, l = t.secondaryColor, s = je(t, Oc), c = T.useRef(), u = rr;
  if (o && (u = {
    primaryColor: o,
    secondaryColor: l || Oo(o)
  }), $c(c), Pc(ci(r), "icon should be icon definiton, but got ".concat(r)), !ci(r))
    return null;
  var d = r;
  return d && typeof d.icon == "function" && (d = F(F({}, d), {}, {
    icon: d.icon(u.primaryColor, u.secondaryColor)
  })), qn(d.icon, "svg-".concat(d.name), F(F({
    className: n,
    onClick: a,
    style: i,
    "data-icon": d.name,
    width: "1em",
    height: "1em",
    fill: "currentColor",
    "aria-hidden": "true"
  }, s), {}, {
    ref: c
  }));
};
tn.displayName = "IconReact";
tn.getTwoToneColors = _c;
tn.setTwoToneColors = Rc;
const Ia = tn;
function _o(e) {
  var t = Ro(e), r = U(t, 2), n = r[0], a = r[1];
  return Ia.setTwoToneColors({
    primaryColor: n,
    secondaryColor: a
  });
}
function kc() {
  var e = Ia.getTwoToneColors();
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
}
var Mc = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
_o(pc.primary);
var rn = /* @__PURE__ */ T.forwardRef(function(e, t) {
  var r, n = e.className, a = e.icon, i = e.spin, o = e.rotate, l = e.tabIndex, s = e.onClick, c = e.twoToneColor, u = je(e, Mc), d = T.useContext(_a), f = d.prefixCls, h = f === void 0 ? "anticon" : f, b = d.rootClassName, p = pe(b, h, (r = {}, w(r, "".concat(h, "-").concat(a.name), !!a.name), w(r, "".concat(h, "-spin"), !!i || a.name === "loading"), r), n), g = l;
  g === void 0 && s && (g = -1);
  var m = o ? {
    msTransform: "rotate(".concat(o, "deg)"),
    transform: "rotate(".concat(o, "deg)")
  } : void 0, y = Ro(c), v = U(y, 2), x = v[0], C = v[1];
  return /* @__PURE__ */ T.createElement("span", Ye({
    role: "img",
    "aria-label": a.name
  }, u, {
    ref: t,
    tabIndex: g,
    onClick: s,
    className: p
  }), /* @__PURE__ */ T.createElement(Ia, {
    icon: a,
    primaryColor: x,
    secondaryColor: C,
    style: m
  }));
});
rn.displayName = "AntdIcon";
rn.getTwoToneColor = kc;
rn.setTwoToneColor = _o;
const Ac = rn;
var ko = function(t, r) {
  return /* @__PURE__ */ T.createElement(Ac, Ye({}, t, {
    ref: r,
    icon: qs
  }));
};
process.env.NODE_ENV !== "production" && (ko.displayName = "CloseCircleFilled");
const Ic = /* @__PURE__ */ T.forwardRef(ko);
function Ot(e) {
  return !!(e.addonBefore || e.addonAfter);
}
function En(e) {
  return !!(e.prefix || e.suffix || e.allowClear);
}
function di(e, t, r, n) {
  if (r) {
    var a = t;
    if (t.type === "click") {
      var i = e.cloneNode(!0);
      a = Object.create(t, {
        target: {
          value: i
        },
        currentTarget: {
          value: i
        }
      }), i.value = "", r(a);
      return;
    }
    if (n !== void 0) {
      var o = e.cloneNode(!0);
      a = Object.create(t, {
        target: {
          value: o
        },
        currentTarget: {
          value: o
        }
      }), o.type !== "file" && (o.value = n), r(a);
      return;
    }
    r(a);
  }
}
function Lc(e, t) {
  if (e) {
    e.focus(t);
    var r = t || {}, n = r.cursor;
    if (n) {
      var a = e.value.length;
      switch (n) {
        case "start":
          e.setSelectionRange(0, 0);
          break;
        case "end":
          e.setSelectionRange(a, a);
          break;
        default:
          e.setSelectionRange(0, a);
      }
    }
  }
}
var Dc = function(t) {
  var r, n, a = t.inputElement, i = t.prefixCls, o = t.prefix, l = t.suffix, s = t.addonBefore, c = t.addonAfter, u = t.className, d = t.style, f = t.disabled, h = t.readOnly, b = t.focused, p = t.triggerFocus, g = t.allowClear, m = t.value, y = t.handleReset, v = t.hidden, x = t.classes, C = t.classNames, E = t.dataAttrs, S = t.styles, $ = t.components, k = ($ == null ? void 0 : $.affixWrapper) || "span", _ = ($ == null ? void 0 : $.groupWrapper) || "span", L = ($ == null ? void 0 : $.wrapper) || "span", A = ($ == null ? void 0 : $.groupAddon) || "span", M = ye(null), I = function(ee) {
    var le;
    (le = M.current) !== null && le !== void 0 && le.contains(ee.target) && (p == null || p());
  }, H = function() {
    var ee;
    if (!g)
      return null;
    var le = !f && !h && m, Pe = "".concat(i, "-clear-icon"), Ie = J(g) === "object" && g !== null && g !== void 0 && g.clearIcon ? g.clearIcon : "✖";
    return /* @__PURE__ */ q.createElement("span", {
      onClick: y,
      onMouseDown: function(se) {
        return se.preventDefault();
      },
      className: pe(Pe, (ee = {}, w(ee, "".concat(Pe, "-hidden"), !le), w(ee, "".concat(Pe, "-has-suffix"), !!l), ee)),
      role: "button",
      tabIndex: -1
    }, Ie);
  }, O = /* @__PURE__ */ vn(a, {
    value: m,
    hidden: v,
    className: pe((r = a.props) === null || r === void 0 ? void 0 : r.className, !En(t) && !Ot(t) && u) || null,
    style: F(F({}, (n = a.props) === null || n === void 0 ? void 0 : n.style), !En(t) && !Ot(t) ? d : {})
  });
  if (En(t)) {
    var P, R = "".concat(i, "-affix-wrapper"), D = pe(R, (P = {}, w(P, "".concat(R, "-disabled"), f), w(P, "".concat(R, "-focused"), b), w(P, "".concat(R, "-readonly"), h), w(P, "".concat(R, "-input-with-clear-btn"), l && g && m), P), !Ot(t) && u, x == null ? void 0 : x.affixWrapper, C == null ? void 0 : C.affixWrapper), N = (l || g) && /* @__PURE__ */ q.createElement("span", {
      className: pe("".concat(i, "-suffix"), C == null ? void 0 : C.suffix),
      style: S == null ? void 0 : S.suffix
    }, H(), l);
    O = /* @__PURE__ */ q.createElement(k, Ye({
      className: D,
      style: F(F({}, Ot(t) ? void 0 : d), S == null ? void 0 : S.affixWrapper),
      hidden: !Ot(t) && v,
      onClick: I
    }, E == null ? void 0 : E.affixWrapper, {
      ref: M
    }), o && /* @__PURE__ */ q.createElement("span", {
      className: pe("".concat(i, "-prefix"), C == null ? void 0 : C.prefix),
      style: S == null ? void 0 : S.prefix
    }, o), /* @__PURE__ */ vn(a, {
      value: m,
      hidden: null
    }), N);
  }
  if (Ot(t)) {
    var j = "".concat(i, "-group"), V = "".concat(j, "-addon"), W = pe("".concat(i, "-wrapper"), j, x == null ? void 0 : x.wrapper), K = pe("".concat(i, "-group-wrapper"), u, x == null ? void 0 : x.group);
    return /* @__PURE__ */ q.createElement(_, {
      className: K,
      style: d,
      hidden: v
    }, /* @__PURE__ */ q.createElement(L, {
      className: W
    }, s && /* @__PURE__ */ q.createElement(A, {
      className: V
    }, s), /* @__PURE__ */ vn(O, {
      hidden: null
    }), c && /* @__PURE__ */ q.createElement(A, {
      className: V
    }, c)));
  }
  return O;
};
function Nc(e) {
  if (Array.isArray(e))
    return Vn(e);
}
function Mo(e) {
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
    return Array.from(e);
}
function jc() {
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function Y(e) {
  return Nc(e) || Mo(e) || Jr(e) || jc();
}
function fi(e) {
  var t = T.useRef();
  t.current = e;
  var r = T.useCallback(function() {
    for (var n, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
      i[o] = arguments[o];
    return (n = t.current) === null || n === void 0 ? void 0 : n.call.apply(n, [t].concat(i));
  }, []);
  return r;
}
var gi = process.env.NODE_ENV !== "test" && nt() ? T.useLayoutEffect : T.useEffect, Ao = function(t, r) {
  var n = T.useRef(!0);
  gi(function() {
    return t(n.current);
  }, r), gi(function() {
    return n.current = !1, function() {
      n.current = !0;
    };
  }, []);
}, pi = function(t, r) {
  Ao(function(n) {
    if (!n)
      return t();
  }, r);
};
function Dt(e) {
  var t = T.useRef(!1), r = T.useState(e), n = U(r, 2), a = n[0], i = n[1];
  T.useEffect(function() {
    return t.current = !1, function() {
      t.current = !0;
    };
  }, []);
  function o(l, s) {
    s && t.current || i(l);
  }
  return [a, o];
}
function Cn(e) {
  return e !== void 0;
}
function Vc(e, t) {
  var r = t || {}, n = r.defaultValue, a = r.value, i = r.onChange, o = r.postState, l = Dt(function() {
    return Cn(a) ? a : Cn(n) ? typeof n == "function" ? n() : n : typeof e == "function" ? e() : e;
  }), s = U(l, 2), c = s[0], u = s[1], d = a !== void 0 ? a : c, f = o ? o(d) : d, h = fi(i), b = Dt([d]), p = U(b, 2), g = p[0], m = p[1];
  pi(function() {
    var v = g[0];
    c !== v && h(c, v);
  }, [g]), pi(function() {
    Cn(a) || u(a);
  }, [a]);
  var y = fi(function(v, x) {
    u(v, x), m([d], x);
  });
  return [f, y];
}
function Hc(e, t) {
  var r = F({}, e);
  return Array.isArray(t) && t.forEach(function(n) {
    delete r[n];
  }), r;
}
var Bc = ["show"];
function zc(e, t) {
  return T.useMemo(function() {
    var r = {};
    t && (r.show = J(t) === "object" && t.formatter ? t.formatter : !!t), r = F(F({}, r), e);
    var n = r, a = n.show, i = je(n, Bc);
    return F(F({}, i), {}, {
      show: !!a,
      showFormatter: typeof a == "function" ? a : void 0,
      strategy: i.strategy || function(o) {
        return o.length;
      }
    });
  }, [e, t]);
}
var Wc = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKeyDown", "prefixCls", "disabled", "htmlSize", "className", "maxLength", "suffix", "showCount", "count", "type", "classes", "classNames", "styles", "onCompositionStart", "onCompositionEnd"], Uc = /* @__PURE__ */ uo(function(e, t) {
  var r = e.autoComplete, n = e.onChange, a = e.onFocus, i = e.onBlur, o = e.onPressEnter, l = e.onKeyDown, s = e.prefixCls, c = s === void 0 ? "rc-input" : s, u = e.disabled, d = e.htmlSize, f = e.className, h = e.maxLength, b = e.suffix, p = e.showCount, g = e.count, m = e.type, y = m === void 0 ? "text" : m, v = e.classes, x = e.classNames, C = e.styles, E = e.onCompositionStart, S = e.onCompositionEnd, $ = je(e, Wc), k = Ra(!1), _ = U(k, 2), L = _[0], A = _[1], M = q.useRef(!1), I = ye(null), H = function(z) {
    I.current && Lc(I.current, z);
  }, O = Vc(e.defaultValue, {
    value: e.value
  }), P = U(O, 2), R = P[0], D = P[1], N = R == null ? "" : String(R), j = q.useState(null), V = U(j, 2), W = V[0], K = V[1], G = zc(g, p), ee = G.max || h, le = G.strategy(N), Pe = !!ee && le > ee;
  Ds(t, function() {
    return {
      focus: H,
      blur: function() {
        var z;
        (z = I.current) === null || z === void 0 || z.blur();
      },
      setSelectionRange: function(z, ae, ue) {
        var Ee;
        (Ee = I.current) === null || Ee === void 0 || Ee.setSelectionRange(z, ae, ue);
      },
      select: function() {
        var z;
        (z = I.current) === null || z === void 0 || z.select();
      },
      input: I.current
    };
  }), Ne(function() {
    A(function(X) {
      return X && u ? !1 : X;
    });
  }, [u]);
  var Ie = function(z, ae) {
    var ue = ae;
    if (!M.current && G.exceedFormatter && G.max && G.strategy(ae) > G.max && (ue = G.exceedFormatter(ae, {
      max: G.max
    }), ae !== ue)) {
      var Ee, Ut;
      K([((Ee = I.current) === null || Ee === void 0 ? void 0 : Ee.selectionStart) || 0, ((Ut = I.current) === null || Ut === void 0 ? void 0 : Ut.selectionEnd) || 0]);
    }
    D(ue), I.current && di(I.current, z, n, ue);
  };
  q.useEffect(function() {
    if (W) {
      var X;
      (X = I.current) === null || X === void 0 || X.setSelectionRange.apply(X, Y(W));
    }
  }, [W]);
  var Fe = function(z) {
    Ie(z, z.target.value);
  }, se = function(z) {
    M.current = !1, Ie(z, z.currentTarget.value), S == null || S(z);
  }, Se = function(z) {
    o && z.key === "Enter" && o(z), l == null || l(z);
  }, ut = function(z) {
    A(!0), a == null || a(z);
  }, B = function(z) {
    A(!1), i == null || i(z);
  }, xe = function(z) {
    D(""), H(), I.current && di(I.current, z, n);
  }, Qe = Pe && "".concat(c, "-out-of-range"), Je = function() {
    var z = Hc(e, [
      "prefixCls",
      "onPressEnter",
      "addonBefore",
      "addonAfter",
      "prefix",
      "suffix",
      "allowClear",
      // Input elements must be either controlled or uncontrolled,
      // specify either the value prop, or the defaultValue prop, but not both.
      "defaultValue",
      "showCount",
      "count",
      "classes",
      "htmlSize",
      "styles",
      "classNames"
    ]);
    return /* @__PURE__ */ q.createElement("input", Ye({
      autoComplete: r
    }, z, {
      onChange: Fe,
      onFocus: ut,
      onBlur: B,
      onKeyDown: Se,
      className: pe(c, w({}, "".concat(c, "-disabled"), u), x == null ? void 0 : x.input),
      style: C == null ? void 0 : C.input,
      ref: I,
      size: d,
      type: y,
      onCompositionStart: function(ue) {
        M.current = !0, E == null || E(ue);
      },
      onCompositionEnd: se
    }));
  }, vt = function() {
    var z = Number(ee) > 0;
    if (b || G.show) {
      var ae = G.showFormatter ? G.showFormatter({
        value: N,
        count: le,
        maxLength: ee
      }) : "".concat(le).concat(z ? " / ".concat(ee) : "");
      return /* @__PURE__ */ q.createElement(q.Fragment, null, G.show && /* @__PURE__ */ q.createElement("span", {
        className: pe("".concat(c, "-show-count-suffix"), w({}, "".concat(c, "-show-count-has-suffix"), !!b), x == null ? void 0 : x.count),
        style: F({}, C == null ? void 0 : C.count)
      }, ae), b);
    }
    return null;
  };
  return /* @__PURE__ */ q.createElement(Dc, Ye({}, $, {
    prefixCls: c,
    className: pe(f, Qe),
    inputElement: Je(),
    handleReset: xe,
    value: N,
    focused: L,
    triggerFocus: H,
    suffix: vt(),
    disabled: u,
    classes: v,
    classNames: x,
    styles: C
  }));
}), Gn = { exports: {} }, te = {};
/**
 * @license React
 * react-is.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var mi;
function qc() {
  return mi || (mi = 1, process.env.NODE_ENV !== "production" && function() {
    var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), b = !1, p = !1, g = !1, m = !1, y = !1, v;
    v = Symbol.for("react.module.reference");
    function x(B) {
      return !!(typeof B == "string" || typeof B == "function" || B === r || B === a || y || B === n || B === c || B === u || m || B === h || b || p || g || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === d || B.$$typeof === i || B.$$typeof === o || B.$$typeof === s || // This needs to include all possible module reference object
      // types supported by any Flight configuration anywhere since
      // we don't know which Flight build this will end up being used
      // with.
      B.$$typeof === v || B.getModuleId !== void 0));
    }
    function C(B) {
      if (typeof B == "object" && B !== null) {
        var xe = B.$$typeof;
        switch (xe) {
          case e:
            var Qe = B.type;
            switch (Qe) {
              case r:
              case a:
              case n:
              case c:
              case u:
                return Qe;
              default:
                var Je = Qe && Qe.$$typeof;
                switch (Je) {
                  case l:
                  case o:
                  case s:
                  case f:
                  case d:
                  case i:
                    return Je;
                  default:
                    return xe;
                }
            }
          case t:
            return xe;
        }
      }
    }
    var E = o, S = i, $ = e, k = s, _ = r, L = f, A = d, M = t, I = a, H = n, O = c, P = u, R = !1, D = !1;
    function N(B) {
      return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
    }
    function j(B) {
      return D || (D = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
    }
    function V(B) {
      return C(B) === o;
    }
    function W(B) {
      return C(B) === i;
    }
    function K(B) {
      return typeof B == "object" && B !== null && B.$$typeof === e;
    }
    function G(B) {
      return C(B) === s;
    }
    function ee(B) {
      return C(B) === r;
    }
    function le(B) {
      return C(B) === f;
    }
    function Pe(B) {
      return C(B) === d;
    }
    function Ie(B) {
      return C(B) === t;
    }
    function Fe(B) {
      return C(B) === a;
    }
    function se(B) {
      return C(B) === n;
    }
    function Se(B) {
      return C(B) === c;
    }
    function ut(B) {
      return C(B) === u;
    }
    te.ContextConsumer = E, te.ContextProvider = S, te.Element = $, te.ForwardRef = k, te.Fragment = _, te.Lazy = L, te.Memo = A, te.Portal = M, te.Profiler = I, te.StrictMode = H, te.Suspense = O, te.SuspenseList = P, te.isAsyncMode = N, te.isConcurrentMode = j, te.isContextConsumer = V, te.isContextProvider = W, te.isElement = K, te.isForwardRef = G, te.isFragment = ee, te.isLazy = le, te.isMemo = Pe, te.isPortal = Ie, te.isProfiler = Fe, te.isStrictMode = se, te.isSuspense = Se, te.isSuspenseList = ut, te.isValidElementType = x, te.typeOf = C;
  }()), te;
}
var re = {};
/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var vi;
function Gc() {
  if (vi)
    return re;
  vi = 1;
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), b;
  b = Symbol.for("react.module.reference");
  function p(g) {
    if (typeof g == "object" && g !== null) {
      var m = g.$$typeof;
      switch (m) {
        case e:
          switch (g = g.type, g) {
            case r:
            case a:
            case n:
            case c:
            case u:
              return g;
            default:
              switch (g = g && g.$$typeof, g) {
                case l:
                case o:
                case s:
                case f:
                case d:
                case i:
                  return g;
                default:
                  return m;
              }
          }
        case t:
          return m;
      }
    }
  }
  return re.ContextConsumer = o, re.ContextProvider = i, re.Element = e, re.ForwardRef = s, re.Fragment = r, re.Lazy = f, re.Memo = d, re.Portal = t, re.Profiler = a, re.StrictMode = n, re.Suspense = c, re.SuspenseList = u, re.isAsyncMode = function() {
    return !1;
  }, re.isConcurrentMode = function() {
    return !1;
  }, re.isContextConsumer = function(g) {
    return p(g) === o;
  }, re.isContextProvider = function(g) {
    return p(g) === i;
  }, re.isElement = function(g) {
    return typeof g == "object" && g !== null && g.$$typeof === e;
  }, re.isForwardRef = function(g) {
    return p(g) === s;
  }, re.isFragment = function(g) {
    return p(g) === r;
  }, re.isLazy = function(g) {
    return p(g) === f;
  }, re.isMemo = function(g) {
    return p(g) === d;
  }, re.isPortal = function(g) {
    return p(g) === t;
  }, re.isProfiler = function(g) {
    return p(g) === a;
  }, re.isStrictMode = function(g) {
    return p(g) === n;
  }, re.isSuspense = function(g) {
    return p(g) === c;
  }, re.isSuspenseList = function(g) {
    return p(g) === u;
  }, re.isValidElementType = function(g) {
    return typeof g == "string" || typeof g == "function" || g === r || g === a || g === n || g === c || g === u || g === h || typeof g == "object" && g !== null && (g.$$typeof === f || g.$$typeof === d || g.$$typeof === i || g.$$typeof === o || g.$$typeof === s || g.$$typeof === b || g.getModuleId !== void 0);
  }, re.typeOf = p, re;
}
process.env.NODE_ENV === "production" ? Gn.exports = Gc() : Gn.exports = qc();
var Io = Gn.exports;
function Lo(e, t, r) {
  var n = T.useRef({});
  return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value;
}
function Do(e, t) {
  typeof e == "function" ? e(t) : J(e) === "object" && e && "current" in e && (e.current = t);
}
function Yc() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  var n = t.filter(function(a) {
    return a;
  });
  return n.length <= 1 ? n[0] : function(a) {
    t.forEach(function(i) {
      Do(i, a);
    });
  };
}
function Kc(e) {
  var t, r, n = Io.isMemo(e) ? e.type.type : e.type;
  return !(typeof n == "function" && !((t = n.prototype) !== null && t !== void 0 && t.render) || typeof e == "function" && !((r = e.prototype) !== null && r !== void 0 && r.render));
}
function wn(e, t, r) {
  return pe({
    [`${e}-status-success`]: t === "success",
    [`${e}-status-warning`]: t === "warning",
    [`${e}-status-error`]: t === "error",
    [`${e}-status-validating`]: t === "validating",
    [`${e}-has-feedback`]: r
  });
}
const Xc = (e, t) => t || e;
function No() {
}
let lt = null;
function Zc() {
  lt = null, Fo();
}
let La = No;
process.env.NODE_ENV !== "production" && (La = (e, t, r) => {
  ce(e, `[antd: ${t}] ${r}`), process.env.NODE_ENV === "test" && Zc();
});
const jo = /* @__PURE__ */ T.createContext({}), nn = process.env.NODE_ENV !== "production" ? (e) => {
  const {
    strict: t
  } = T.useContext(jo), r = (n, a, i) => {
    if (!n)
      if (t === !1 && a === "deprecated") {
        const o = lt;
        lt || (lt = {}), lt[e] = lt[e] || [], lt[e].includes(i || "") || lt[e].push(i || ""), o || console.warn("[antd] There exists deprecated usage in your code:", lt);
      } else
        process.env.NODE_ENV !== "production" && La(n, e, i);
  };
  return r.deprecated = (n, a, i, o) => {
    r(n, "deprecated", `\`${a}\` is deprecated. Please use \`${i}\` instead.${o ? ` ${o}` : ""}`);
  }, r;
} : () => {
  const e = () => {
  };
  return e.deprecated = No, e;
}, an = La;
function Ur(e) {
  for (var t = 0, r, n = 0, a = e.length; a >= 4; ++n, a -= 4)
    r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
    r >>> 24, t = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
    (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  switch (a) {
    case 3:
      t ^= (e.charCodeAt(n + 2) & 255) << 16;
    case 2:
      t ^= (e.charCodeAt(n + 1) & 255) << 8;
    case 1:
      t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
      (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  }
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
function Vo(e, t) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, n = /* @__PURE__ */ new Set();
  function a(i, o) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = n.has(i);
    if (ce(!s, "Warning: There may be circular references"), s)
      return !1;
    if (i === o)
      return !0;
    if (r && l > 1)
      return !1;
    n.add(i);
    var c = l + 1;
    if (Array.isArray(i)) {
      if (!Array.isArray(o) || i.length !== o.length)
        return !1;
      for (var u = 0; u < i.length; u++)
        if (!a(i[u], o[u], c))
          return !1;
      return !0;
    }
    if (i && o && J(i) === "object" && J(o) === "object") {
      var d = Object.keys(i);
      return d.length !== Object.keys(o).length ? !1 : d.every(function(f) {
        return a(i[f], o[f], c);
      });
    }
    return !1;
  }
  return a(e, t);
}
function Xe(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function hi(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, vo(n.key), n);
  }
}
function Ze(e, t, r) {
  return t && hi(e.prototype, t), r && hi(e, r), Object.defineProperty(e, "prototype", {
    writable: !1
  }), e;
}
var bi = "%", Qc = /* @__PURE__ */ function() {
  function e(t) {
    Xe(this, e), w(this, "instanceId", void 0), w(this, "cache", /* @__PURE__ */ new Map()), this.instanceId = t;
  }
  return Ze(e, [{
    key: "get",
    value: function(r) {
      return this.cache.get(r.join(bi)) || null;
    }
  }, {
    key: "update",
    value: function(r, n) {
      var a = r.join(bi), i = this.cache.get(a), o = n(i);
      o === null ? this.cache.delete(a) : this.cache.set(a, o);
    }
  }]), e;
}(), jt = "data-token-hash", qe = "data-css-hash", Jc = "data-cache-path", gt = "__cssinjs_instance__";
function eu() {
  var e = Math.random().toString(12).slice(2);
  if (typeof document < "u" && document.head && document.body) {
    var t = document.body.querySelectorAll("style[".concat(qe, "]")) || [], r = document.head.firstChild;
    Array.from(t).forEach(function(a) {
      a[gt] = a[gt] || e, a[gt] === e && document.head.insertBefore(a, r);
    });
    var n = {};
    Array.from(document.querySelectorAll("style[".concat(qe, "]"))).forEach(function(a) {
      var i = a.getAttribute(qe);
      if (n[i]) {
        if (a[gt] === e) {
          var o;
          (o = a.parentNode) === null || o === void 0 || o.removeChild(a);
        }
      } else
        n[i] = !0;
    });
  }
  return new Qc(e);
}
var on = /* @__PURE__ */ T.createContext({
  hashPriority: "low",
  cache: eu(),
  defaultCache: !0
});
function tu(e, t) {
  if (e.length !== t.length)
    return !1;
  for (var r = 0; r < e.length; r++)
    if (e[r] !== t[r])
      return !1;
  return !0;
}
var Da = /* @__PURE__ */ function() {
  function e() {
    Xe(this, e), w(this, "cache", void 0), w(this, "keys", void 0), w(this, "cacheCallTimes", void 0), this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
  }
  return Ze(e, [{
    key: "size",
    value: function() {
      return this.keys.length;
    }
  }, {
    key: "internalGet",
    value: function(r) {
      var n, a, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, o = {
        map: this.cache
      };
      return r.forEach(function(l) {
        if (!o)
          o = void 0;
        else {
          var s;
          o = (s = o) === null || s === void 0 || (s = s.map) === null || s === void 0 ? void 0 : s.get(l);
        }
      }), (n = o) !== null && n !== void 0 && n.value && i && (o.value[1] = this.cacheCallTimes++), (a = o) === null || a === void 0 ? void 0 : a.value;
    }
  }, {
    key: "get",
    value: function(r) {
      var n;
      return (n = this.internalGet(r, !0)) === null || n === void 0 ? void 0 : n[0];
    }
  }, {
    key: "has",
    value: function(r) {
      return !!this.internalGet(r);
    }
  }, {
    key: "set",
    value: function(r, n) {
      var a = this;
      if (!this.has(r)) {
        if (this.size() + 1 > e.MAX_CACHE_SIZE + e.MAX_CACHE_OFFSET) {
          var i = this.keys.reduce(function(c, u) {
            var d = U(c, 2), f = d[1];
            return a.internalGet(u)[1] < f ? [u, a.internalGet(u)[1]] : c;
          }, [this.keys[0], this.cacheCallTimes]), o = U(i, 1), l = o[0];
          this.delete(l);
        }
        this.keys.push(r);
      }
      var s = this.cache;
      r.forEach(function(c, u) {
        if (u === r.length - 1)
          s.set(c, {
            value: [n, a.cacheCallTimes++]
          });
        else {
          var d = s.get(c);
          d ? d.map || (d.map = /* @__PURE__ */ new Map()) : s.set(c, {
            map: /* @__PURE__ */ new Map()
          }), s = s.get(c).map;
        }
      });
    }
  }, {
    key: "deleteByPath",
    value: function(r, n) {
      var a = r.get(n[0]);
      if (n.length === 1) {
        var i;
        return a.map ? r.set(n[0], {
          map: a.map
        }) : r.delete(n[0]), (i = a.value) === null || i === void 0 ? void 0 : i[0];
      }
      var o = this.deleteByPath(a.map, n.slice(1));
      return (!a.map || a.map.size === 0) && !a.value && r.delete(n[0]), o;
    }
  }, {
    key: "delete",
    value: function(r) {
      if (this.has(r))
        return this.keys = this.keys.filter(function(n) {
          return !tu(n, r);
        }), this.deleteByPath(this.cache, r);
    }
  }]), e;
}();
w(Da, "MAX_CACHE_SIZE", 20);
w(Da, "MAX_CACHE_OFFSET", 5);
var yi = 0, Ho = /* @__PURE__ */ function() {
  function e(t) {
    Xe(this, e), w(this, "derivatives", void 0), w(this, "id", void 0), this.derivatives = Array.isArray(t) ? t : [t], this.id = yi, t.length === 0 && Aa(t.length > 0, "[Ant Design CSS-in-JS] Theme should have at least one derivative function."), yi += 1;
  }
  return Ze(e, [{
    key: "getDerivativeToken",
    value: function(r) {
      return this.derivatives.reduce(function(n, a) {
        return a(r, n);
      }, void 0);
    }
  }]), e;
}(), Tn = new Da();
function qr(e) {
  var t = Array.isArray(e) ? e : [e];
  return Tn.has(t) || Tn.set(t, new Ho(t)), Tn.get(t);
}
var ru = /* @__PURE__ */ new WeakMap(), Pn = {};
function nu(e, t) {
  for (var r = ru, n = 0; n < t.length; n += 1) {
    var a = t[n];
    r.has(a) || r.set(a, /* @__PURE__ */ new WeakMap()), r = r.get(a);
  }
  return r.has(Pn) || r.set(Pn, e()), r.get(Pn);
}
var Si = /* @__PURE__ */ new WeakMap();
function nr(e) {
  var t = Si.get(e) || "";
  return t || (Object.keys(e).forEach(function(r) {
    var n = e[r];
    t += r, n instanceof Ho ? t += n.id : n && J(n) === "object" ? t += nr(n) : t += n;
  }), Si.set(e, t)), t;
}
function xi(e, t) {
  return Ur("".concat(t, "_").concat(nr(e)));
}
var ar = "random-".concat(Date.now(), "-").concat(Math.random()).replace(/\./g, ""), Bo = "_bAmBoO_";
function au(e, t, r) {
  if (nt()) {
    var n, a;
    Pt(e, ar);
    var i = document.createElement("div");
    i.style.position = "fixed", i.style.left = "0", i.style.top = "0", t == null || t(i), document.body.appendChild(i), process.env.NODE_ENV !== "production" && (i.innerHTML = "Test", i.style.zIndex = "9999999");
    var o = r ? r(i) : (n = getComputedStyle(i).content) === null || n === void 0 ? void 0 : n.includes(Bo);
    return (a = i.parentNode) === null || a === void 0 || a.removeChild(i), ka(ar), o;
  }
  return !1;
}
var Fn = void 0;
function iu() {
  return Fn === void 0 && (Fn = au("@layer ".concat(ar, " { .").concat(ar, ' { content: "').concat(Bo, '"!important; } }'), function(e) {
    e.className = ar;
  })), Fn;
}
var Yn = nt();
function Ce(e) {
  return typeof e == "number" ? "".concat(e, "px") : e;
}
function Gr(e, t, r) {
  var n, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
  if (i)
    return e;
  var o = F(F({}, a), {}, (n = {}, w(n, jt, t), w(n, qe, r), n)), l = Object.keys(o).map(function(s) {
    var c = o[s];
    return c ? "".concat(s, '="').concat(c, '"') : null;
  }).filter(function(s) {
    return s;
  }).join(" ");
  return "<style ".concat(l, ">").concat(e, "</style>");
}
var zo = function(t) {
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
  return "--".concat(r ? "".concat(r, "-") : "").concat(t).replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase();
}, ou = function(t, r, n) {
  return Object.keys(t).length ? ".".concat(r).concat(n != null && n.scope ? ".".concat(n.scope) : "", "{").concat(Object.entries(t).map(function(a) {
    var i = U(a, 2), o = i[0], l = i[1];
    return "".concat(o, ":").concat(l, ";");
  }).join(""), "}") : "";
}, Wo = function(t, r, n) {
  var a = {}, i = {};
  return Object.entries(t).forEach(function(o) {
    var l, s, c = U(o, 2), u = c[0], d = c[1];
    if (n != null && (l = n.preserve) !== null && l !== void 0 && l[u])
      i[u] = d;
    else if ((typeof d == "string" || typeof d == "number") && !(n != null && (s = n.ignore) !== null && s !== void 0 && s[u])) {
      var f, h = zo(u, n == null ? void 0 : n.prefix);
      a[h] = typeof d == "number" && !(n != null && (f = n.unitless) !== null && f !== void 0 && f[u]) ? "".concat(d, "px") : String(d), i[u] = "var(".concat(h, ")");
    }
  }), [i, ou(a, r, {
    scope: n == null ? void 0 : n.scope
  })];
}, lu = F({}, T), Ei = lu.useInsertionEffect, su = function(t, r, n) {
  T.useMemo(t, n), Ao(function() {
    return r(!0);
  }, n);
}, cu = Ei ? function(e, t, r) {
  return Ei(function() {
    return e(), t();
  }, r);
} : su, uu = F({}, T), du = uu.useInsertionEffect, fu = function(t) {
  var r = [], n = !1;
  function a(i) {
    if (n) {
      process.env.NODE_ENV !== "production" && Aa(!1, "[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");
      return;
    }
    r.push(i);
  }
  return T.useEffect(function() {
    return n = !1, function() {
      n = !0, r.length && r.forEach(function(i) {
        return i();
      });
    };
  }, t), a;
}, gu = function() {
  return function(t) {
    t();
  };
}, pu = typeof du < "u" ? fu : gu;
function mu() {
  return !1;
}
var Kn = !1;
function vu() {
  return Kn;
}
const hu = process.env.NODE_ENV === "production" ? mu : vu;
if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
  var $n = window;
  if (typeof $n.webpackHotUpdate == "function") {
    var bu = $n.webpackHotUpdate;
    $n.webpackHotUpdate = function() {
      return Kn = !0, setTimeout(function() {
        Kn = !1;
      }, 0), bu.apply(void 0, arguments);
    };
  }
}
function Na(e, t, r, n, a) {
  var i = T.useContext(on), o = i.cache, l = [e].concat(Y(t)), s = l.join("_"), c = pu([s]), u = hu(), d = function(p) {
    o.update(l, function(g) {
      var m = g || [void 0, void 0], y = U(m, 2), v = y[0], x = v === void 0 ? 0 : v, C = y[1], E = C;
      process.env.NODE_ENV !== "production" && C && u && (n == null || n(E, u), E = null);
      var S = E || r(), $ = [x, S];
      return p ? p($) : $;
    });
  };
  T.useMemo(
    function() {
      d();
    },
    /* eslint-disable react-hooks/exhaustive-deps */
    [s]
    /* eslint-enable */
  );
  var f = o.get(l);
  process.env.NODE_ENV !== "production" && !f && (d(), f = o.get(l));
  var h = f[1];
  return cu(function() {
    a == null || a(h);
  }, function(b) {
    return d(function(p) {
      var g = U(p, 2), m = g[0], y = g[1];
      return b && m === 0 && (a == null || a(h)), [m + 1, y];
    }), function() {
      o.update(l, function(p) {
        var g = p || [], m = U(g, 2), y = m[0], v = y === void 0 ? 0 : y, x = m[1], C = v - 1;
        return C === 0 ? (c(function() {
          (b || !o.get(l)) && (n == null || n(x, !1));
        }), null) : [v - 1, x];
      });
    };
  }, [s]), h;
}
var yu = {}, Su = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", bt = /* @__PURE__ */ new Map();
function xu(e) {
  bt.set(e, (bt.get(e) || 0) + 1);
}
function Eu(e, t) {
  if (typeof document < "u") {
    var r = document.querySelectorAll("style[".concat(jt, '="').concat(e, '"]'));
    r.forEach(function(n) {
      if (n[gt] === t) {
        var a;
        (a = n.parentNode) === null || a === void 0 || a.removeChild(n);
      }
    });
  }
}
var Cu = 0;
function wu(e, t) {
  bt.set(e, (bt.get(e) || 0) - 1);
  var r = Array.from(bt.keys()), n = r.filter(function(a) {
    var i = bt.get(a) || 0;
    return i <= 0;
  });
  r.length - n.length > Cu && n.forEach(function(a) {
    Eu(a, t), bt.delete(a);
  });
}
var Tu = function(t, r, n, a) {
  var i = n.getDerivativeToken(t), o = F(F({}, i), r);
  return a && (o = a(o)), o;
}, Uo = "token";
function qo(e, t) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = we(on), a = n.cache.instanceId, i = n.container, o = r.salt, l = o === void 0 ? "" : o, s = r.override, c = s === void 0 ? yu : s, u = r.formatToken, d = r.getComputedToken, f = r.cssVar, h = nu(function() {
    return Object.assign.apply(Object, [{}].concat(Y(t)));
  }, t), b = nr(h), p = nr(c), g = f ? nr(f) : "", m = Na(Uo, [l, e.id, b, p, g], function() {
    var y, v = d ? d(h, c, e) : Tu(h, c, e, u), x = F({}, v), C = "";
    if (f) {
      var E = Wo(v, f.key, {
        prefix: f.prefix,
        ignore: f.ignore,
        unitless: f.unitless,
        preserve: f.preserve
      }), S = U(E, 2);
      v = S[0], C = S[1];
    }
    var $ = xi(v, l);
    v._tokenKey = $, x._tokenKey = xi(x, l);
    var k = (y = f == null ? void 0 : f.key) !== null && y !== void 0 ? y : $;
    v._themeKey = k, xu(k);
    var _ = "".concat(Su, "-").concat(Ur($));
    return v._hashId = _, [v, _, x, C, (f == null ? void 0 : f.key) || ""];
  }, function(y) {
    wu(y[0]._themeKey, a);
  }, function(y) {
    var v = U(y, 4), x = v[0], C = v[3];
    if (f && C) {
      var E = Pt(C, Ur("css-variables-".concat(x._themeKey)), {
        mark: qe,
        prepend: "queue",
        attachTo: i,
        priority: -999
      });
      E[gt] = a, E.setAttribute(jt, x._themeKey);
    }
  });
  return m;
}
var Pu = function(t, r, n) {
  var a = U(t, 5), i = a[2], o = a[3], l = a[4], s = n || {}, c = s.plain;
  if (!o)
    return null;
  var u = i._tokenKey, d = -999, f = {
    "data-rc-order": "prependQueue",
    "data-rc-priority": "".concat(d)
  }, h = Gr(o, l, u, f, c);
  return [d, u, h];
}, Fu = {
  animationIterationCount: 1,
  borderImageOutset: 1,
  borderImageSlice: 1,
  borderImageWidth: 1,
  boxFlex: 1,
  boxFlexGroup: 1,
  boxOrdinalGroup: 1,
  columnCount: 1,
  columns: 1,
  flex: 1,
  flexGrow: 1,
  flexPositive: 1,
  flexShrink: 1,
  flexNegative: 1,
  flexOrder: 1,
  gridRow: 1,
  gridRowEnd: 1,
  gridRowSpan: 1,
  gridRowStart: 1,
  gridColumn: 1,
  gridColumnEnd: 1,
  gridColumnSpan: 1,
  gridColumnStart: 1,
  msGridRow: 1,
  msGridRowSpan: 1,
  msGridColumn: 1,
  msGridColumnSpan: 1,
  fontWeight: 1,
  lineHeight: 1,
  opacity: 1,
  order: 1,
  orphans: 1,
  tabSize: 1,
  widows: 1,
  zIndex: 1,
  zoom: 1,
  WebkitLineClamp: 1,
  // SVG-related properties
  fillOpacity: 1,
  floodOpacity: 1,
  stopOpacity: 1,
  strokeDasharray: 1,
  strokeDashoffset: 1,
  strokeMiterlimit: 1,
  strokeOpacity: 1,
  strokeWidth: 1
}, Go = "comm", Yo = "rule", Ko = "decl", $u = "@import", Ou = "@keyframes", Ru = "@layer", Xo = Math.abs, ja = String.fromCharCode;
function Zo(e) {
  return e.trim();
}
function jr(e, t, r) {
  return e.replace(t, r);
}
function _u(e, t, r) {
  return e.indexOf(t, r);
}
function lr(e, t) {
  return e.charCodeAt(t) | 0;
}
function sr(e, t, r) {
  return e.slice(t, r);
}
function st(e) {
  return e.length;
}
function ku(e) {
  return e.length;
}
function Or(e, t) {
  return t.push(e), e;
}
var ln = 1, Vt = 1, Qo = 0, Ve = 0, fe = 0, zt = "";
function Va(e, t, r, n, a, i, o, l) {
  return { value: e, root: t, parent: r, type: n, props: a, children: i, line: ln, column: Vt, length: o, return: "", siblings: l };
}
function Mu() {
  return fe;
}
function Au() {
  return fe = Ve > 0 ? lr(zt, --Ve) : 0, Vt--, fe === 10 && (Vt = 1, ln--), fe;
}
function Ge() {
  return fe = Ve < Qo ? lr(zt, Ve++) : 0, Vt++, fe === 10 && (Vt = 1, ln++), fe;
}
function Ct() {
  return lr(zt, Ve);
}
function Vr() {
  return Ve;
}
function sn(e, t) {
  return sr(zt, e, t);
}
function Xn(e) {
  switch (e) {
    case 0:
    case 9:
    case 10:
    case 13:
    case 32:
      return 5;
    case 33:
    case 43:
    case 44:
    case 47:
    case 62:
    case 64:
    case 126:
    case 59:
    case 123:
    case 125:
      return 4;
    case 58:
      return 3;
    case 34:
    case 39:
    case 40:
    case 91:
      return 2;
    case 41:
    case 93:
      return 1;
  }
  return 0;
}
function Iu(e) {
  return ln = Vt = 1, Qo = st(zt = e), Ve = 0, [];
}
function Lu(e) {
  return zt = "", e;
}
function On(e) {
  return Zo(sn(Ve - 1, Zn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function Du(e) {
  for (; (fe = Ct()) && fe < 33; )
    Ge();
  return Xn(e) > 2 || Xn(fe) > 3 ? "" : " ";
}
function Nu(e, t) {
  for (; --t && Ge() && !(fe < 48 || fe > 102 || fe > 57 && fe < 65 || fe > 70 && fe < 97); )
    ;
  return sn(e, Vr() + (t < 6 && Ct() == 32 && Ge() == 32));
}
function Zn(e) {
  for (; Ge(); )
    switch (fe) {
      case e:
        return Ve;
      case 34:
      case 39:
        e !== 34 && e !== 39 && Zn(fe);
        break;
      case 40:
        e === 41 && Zn(e);
        break;
      case 92:
        Ge();
        break;
    }
  return Ve;
}
function ju(e, t) {
  for (; Ge() && e + fe !== 57; )
    if (e + fe === 84 && Ct() === 47)
      break;
  return "/*" + sn(t, Ve - 1) + "*" + ja(e === 47 ? e : Ge());
}
function Vu(e) {
  for (; !Xn(Ct()); )
    Ge();
  return sn(e, Ve);
}
function Hu(e) {
  return Lu(Hr("", null, null, null, [""], e = Iu(e), 0, [0], e));
}
function Hr(e, t, r, n, a, i, o, l, s) {
  for (var c = 0, u = 0, d = o, f = 0, h = 0, b = 0, p = 1, g = 1, m = 1, y = 0, v = "", x = a, C = i, E = n, S = v; g; )
    switch (b = y, y = Ge()) {
      case 40:
        if (b != 108 && lr(S, d - 1) == 58) {
          _u(S += jr(On(y), "&", "&\f"), "&\f", Xo(c ? l[c - 1] : 0)) != -1 && (m = -1);
          break;
        }
      case 34:
      case 39:
      case 91:
        S += On(y);
        break;
      case 9:
      case 10:
      case 13:
      case 32:
        S += Du(b);
        break;
      case 92:
        S += Nu(Vr() - 1, 7);
        continue;
      case 47:
        switch (Ct()) {
          case 42:
          case 47:
            Or(Bu(ju(Ge(), Vr()), t, r, s), s);
            break;
          default:
            S += "/";
        }
        break;
      case 123 * p:
        l[c++] = st(S) * m;
      case 125 * p:
      case 59:
      case 0:
        switch (y) {
          case 0:
          case 125:
            g = 0;
          case 59 + u:
            m == -1 && (S = jr(S, /\f/g, "")), h > 0 && st(S) - d && Or(h > 32 ? wi(S + ";", n, r, d - 1, s) : wi(jr(S, " ", "") + ";", n, r, d - 2, s), s);
            break;
          case 59:
            S += ";";
          default:
            if (Or(E = Ci(S, t, r, c, u, a, l, v, x = [], C = [], d, i), i), y === 123)
              if (u === 0)
                Hr(S, t, E, E, x, i, d, l, C);
              else
                switch (f === 99 && lr(S, 3) === 110 ? 100 : f) {
                  case 100:
                  case 108:
                  case 109:
                  case 115:
                    Hr(e, E, E, n && Or(Ci(e, E, E, 0, 0, a, l, v, a, x = [], d, C), C), a, C, d, l, n ? x : C);
                    break;
                  default:
                    Hr(S, E, E, E, [""], C, 0, l, C);
                }
        }
        c = u = h = 0, p = m = 1, v = S = "", d = o;
        break;
      case 58:
        d = 1 + st(S), h = b;
      default:
        if (p < 1) {
          if (y == 123)
            --p;
          else if (y == 125 && p++ == 0 && Au() == 125)
            continue;
        }
        switch (S += ja(y), y * p) {
          case 38:
            m = u > 0 ? 1 : (S += "\f", -1);
            break;
          case 44:
            l[c++] = (st(S) - 1) * m, m = 1;
            break;
          case 64:
            Ct() === 45 && (S += On(Ge())), f = Ct(), u = d = st(v = S += Vu(Vr())), y++;
            break;
          case 45:
            b === 45 && st(S) == 2 && (p = 0);
        }
    }
  return i;
}
function Ci(e, t, r, n, a, i, o, l, s, c, u, d) {
  for (var f = a - 1, h = a === 0 ? i : [""], b = ku(h), p = 0, g = 0, m = 0; p < n; ++p)
    for (var y = 0, v = sr(e, f + 1, f = Xo(g = o[p])), x = e; y < b; ++y)
      (x = Zo(g > 0 ? h[y] + " " + v : jr(v, /&\f/g, h[y]))) && (s[m++] = x);
  return Va(e, t, r, a === 0 ? Yo : l, s, c, u, d);
}
function Bu(e, t, r, n) {
  return Va(e, t, r, Go, ja(Mu()), sr(e, 2, -2), 0, n);
}
function wi(e, t, r, n, a) {
  return Va(e, t, r, Ko, sr(e, 0, n), sr(e, n + 1, -1), n, a);
}
function Qn(e, t) {
  for (var r = "", n = 0; n < e.length; n++)
    r += t(e[n], n, e, t) || "";
  return r;
}
function zu(e, t, r, n) {
  switch (e.type) {
    case Ru:
      if (e.children.length)
        break;
    case $u:
    case Ko:
      return e.return = e.return || e.value;
    case Go:
      return "";
    case Ou:
      return e.return = e.value + "{" + Qn(e.children, n) + "}";
    case Yo:
      if (!st(e.value = e.props.join(",")))
        return "";
  }
  return st(r = Qn(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
}
function Jo(e, t) {
  var r = t.path, n = t.parentSelectors;
  ce(!1, "[Ant Design CSS-in-JS] ".concat(r ? "Error in ".concat(r, ": ") : "").concat(e).concat(n.length ? " Selector: ".concat(n.join(" | ")) : ""));
}
var Wu = function(t, r, n) {
  if (t === "content") {
    var a = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, i = ["normal", "none", "initial", "inherit", "unset"];
    (typeof r != "string" || i.indexOf(r) === -1 && !a.test(r) && (r.charAt(0) !== r.charAt(r.length - 1) || r.charAt(0) !== '"' && r.charAt(0) !== "'")) && Jo("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r, "\"'`."), n);
  }
}, Uu = function(t, r, n) {
  t === "animation" && n.hashId && r !== "none" && Jo("You seem to be using hashed animation '".concat(r, "', in which case 'animationName' with Keyframe as value is recommended."), n);
}, Ti = "data-ant-cssinjs-cache-path", el = "_FILE_STYLE__", wt, tl = !0;
function qu() {
  if (!wt && (wt = {}, nt())) {
    var e = document.createElement("div");
    e.className = Ti, e.style.position = "fixed", e.style.visibility = "hidden", e.style.top = "-9999px", document.body.appendChild(e);
    var t = getComputedStyle(e).content || "";
    t = t.replace(/^"/, "").replace(/"$/, ""), t.split(";").forEach(function(a) {
      var i = a.split(":"), o = U(i, 2), l = o[0], s = o[1];
      wt[l] = s;
    });
    var r = document.querySelector("style[".concat(Ti, "]"));
    if (r) {
      var n;
      tl = !1, (n = r.parentNode) === null || n === void 0 || n.removeChild(r);
    }
    document.body.removeChild(e);
  }
}
function Gu(e) {
  return qu(), !!wt[e];
}
function Yu(e) {
  var t = wt[e], r = null;
  if (t && nt())
    if (tl)
      r = el;
    else {
      var n = document.querySelector("style[".concat(qe, '="').concat(wt[e], '"]'));
      n ? r = n.innerHTML : delete wt[e];
    }
  return [r, t];
}
var rl = "_skip_check_", nl = "_multi_value_";
function Jn(e) {
  var t = Qn(Hu(e), zu);
  return t.replace(/\{%%%\:[^;];}/g, ";");
}
function Ku(e) {
  return J(e) === "object" && e && (rl in e || nl in e);
}
function Xu(e, t, r) {
  if (!t)
    return e;
  var n = ".".concat(t), a = r === "low" ? ":where(".concat(n, ")") : n, i = e.split(",").map(function(o) {
    var l, s = o.trim().split(/\s+/), c = s[0] || "", u = ((l = c.match(/^\w+/)) === null || l === void 0 ? void 0 : l[0]) || "";
    return c = "".concat(u).concat(a).concat(c.slice(u.length)), [c].concat(Y(s.slice(1))).join(" ");
  });
  return i.join(",");
}
var Zu = function e(t) {
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
    root: !0,
    parentSelectors: []
  }, a = n.root, i = n.injectHash, o = n.parentSelectors, l = r.hashId, s = r.layer, c = r.path, u = r.hashPriority, d = r.transformers, f = d === void 0 ? [] : d, h = r.linters, b = h === void 0 ? [] : h, p = "", g = {};
  function m(E) {
    var S = E.getName(l);
    if (!g[S]) {
      var $ = e(E.style, r, {
        root: !1,
        parentSelectors: o
      }), k = U($, 1), _ = k[0];
      g[S] = "@keyframes ".concat(E.getName(l)).concat(_);
    }
  }
  function y(E) {
    var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
    return E.forEach(function($) {
      Array.isArray($) ? y($, S) : $ && S.push($);
    }), S;
  }
  var v = y(Array.isArray(t) ? t : [t]);
  if (v.forEach(function(E) {
    var S = typeof E == "string" && !a ? {} : E;
    if (typeof S == "string")
      p += "".concat(S, `
`);
    else if (S._keyframe)
      m(S);
    else {
      var $ = f.reduce(function(k, _) {
        var L;
        return (_ == null || (L = _.visit) === null || L === void 0 ? void 0 : L.call(_, k)) || k;
      }, S);
      Object.keys($).forEach(function(k) {
        var _ = $[k];
        if (J(_) === "object" && _ && (k !== "animationName" || !_._keyframe) && !Ku(_)) {
          var L = !1, A = k.trim(), M = !1;
          (a || i) && l ? A.startsWith("@") ? L = !0 : A = Xu(k, l, u) : a && !l && (A === "&" || A === "") && (A = "", M = !0);
          var I = e(_, r, {
            root: M,
            injectHash: L,
            parentSelectors: [].concat(Y(o), [A])
          }), H = U(I, 2), O = H[0], P = H[1];
          g = F(F({}, g), P), p += "".concat(A).concat(O);
        } else {
          let N = function(j, V) {
            process.env.NODE_ENV !== "production" && (J(_) !== "object" || !(_ != null && _[rl])) && [Wu, Uu].concat(Y(b)).forEach(function(G) {
              return G(j, V, {
                path: c,
                hashId: l,
                parentSelectors: o
              });
            });
            var W = j.replace(/[A-Z]/g, function(G) {
              return "-".concat(G.toLowerCase());
            }), K = V;
            !Fu[j] && typeof K == "number" && K !== 0 && (K = "".concat(K, "px")), j === "animationName" && V !== null && V !== void 0 && V._keyframe && (m(V), K = V.getName(l)), p += "".concat(W, ":").concat(K, ";");
          };
          var R, D = (R = _ == null ? void 0 : _.value) !== null && R !== void 0 ? R : _;
          J(_) === "object" && _ !== null && _ !== void 0 && _[nl] && Array.isArray(D) ? D.forEach(function(j) {
            N(k, j);
          }) : N(k, D);
        }
      });
    }
  }), !a)
    p = "{".concat(p, "}");
  else if (s && iu()) {
    var x = s.split(","), C = x[x.length - 1].trim();
    p = "@layer ".concat(C, " {").concat(p, "}"), x.length > 1 && (p = "@layer ".concat(s, "{%%%:%}").concat(p));
  }
  return [p, g];
};
function al(e, t) {
  return Ur("".concat(e.join("%")).concat(t));
}
function Qu() {
  return null;
}
var il = "style";
function ea(e, t) {
  var r = e.token, n = e.path, a = e.hashId, i = e.layer, o = e.nonce, l = e.clientOnly, s = e.order, c = s === void 0 ? 0 : s, u = T.useContext(on), d = u.autoClear, f = u.mock, h = u.defaultCache, b = u.hashPriority, p = u.container, g = u.ssrInline, m = u.transformers, y = u.linters, v = u.cache, x = r._tokenKey, C = [x].concat(Y(n)), E = Yn;
  process.env.NODE_ENV !== "production" && f !== void 0 && (E = f === "client");
  var S = Na(
    il,
    C,
    // Create cache if needed
    function() {
      var A = C.join("|");
      if (Gu(A)) {
        var M = Yu(A), I = U(M, 2), H = I[0], O = I[1];
        if (H)
          return [H, x, O, {}, l, c];
      }
      var P = t(), R = Zu(P, {
        hashId: a,
        hashPriority: b,
        layer: i,
        path: n.join("-"),
        transformers: m,
        linters: y
      }), D = U(R, 2), N = D[0], j = D[1], V = Jn(N), W = al(C, V);
      return [V, x, W, j, l, c];
    },
    // Remove cache if no need
    function(A, M) {
      var I = U(A, 3), H = I[2];
      (M || d) && Yn && ka(H, {
        mark: qe
      });
    },
    // Effect: Inject style here
    function(A) {
      var M = U(A, 4), I = M[0];
      M[1];
      var H = M[2], O = M[3];
      if (E && I !== el) {
        var P = {
          mark: qe,
          prepend: "queue",
          attachTo: p,
          priority: c
        }, R = typeof o == "function" ? o() : o;
        R && (P.csp = {
          nonce: R
        });
        var D = Pt(I, H, P);
        D[gt] = v.instanceId, D.setAttribute(jt, x), process.env.NODE_ENV !== "production" && D.setAttribute(Jc, C.join("|")), Object.keys(O).forEach(function(N) {
          Pt(Jn(O[N]), "_effect-".concat(N), P);
        });
      }
    }
  ), $ = U(S, 3), k = $[0], _ = $[1], L = $[2];
  return function(A) {
    var M;
    if (!g || E || !h)
      M = /* @__PURE__ */ T.createElement(Qu, null);
    else {
      var I;
      M = /* @__PURE__ */ T.createElement("style", Ye({}, (I = {}, w(I, jt, _), w(I, qe, L), I), {
        dangerouslySetInnerHTML: {
          __html: k
        }
      }));
    }
    return /* @__PURE__ */ T.createElement(T.Fragment, null, M, A);
  };
}
var Ju = function(t, r, n) {
  var a = U(t, 6), i = a[0], o = a[1], l = a[2], s = a[3], c = a[4], u = a[5], d = n || {}, f = d.plain;
  if (c)
    return null;
  var h = i, b = {
    "data-rc-order": "prependQueue",
    "data-rc-priority": "".concat(u)
  };
  return h = Gr(i, o, l, b, f), s && Object.keys(s).forEach(function(p) {
    if (!r[p]) {
      r[p] = !0;
      var g = Jn(s[p]);
      h += Gr(g, o, "_effect-".concat(p), b, f);
    }
  }), [u, l, h];
}, ol = "cssVar", ed = function(t, r) {
  var n = t.key, a = t.prefix, i = t.unitless, o = t.ignore, l = t.token, s = t.scope, c = s === void 0 ? "" : s, u = we(on), d = u.cache.instanceId, f = u.container, h = l._tokenKey, b = [].concat(Y(t.path), [n, c, h]), p = Na(ol, b, function() {
    var g = r(), m = Wo(g, n, {
      prefix: a,
      unitless: i,
      ignore: o,
      scope: c
    }), y = U(m, 2), v = y[0], x = y[1], C = al(b, x);
    return [v, x, C, n];
  }, function(g) {
    var m = U(g, 3), y = m[2];
    Yn && ka(y, {
      mark: qe
    });
  }, function(g) {
    var m = U(g, 3), y = m[1], v = m[2];
    if (y) {
      var x = Pt(y, v, {
        mark: qe,
        prepend: "queue",
        attachTo: f,
        priority: -999
      });
      x[gt] = d, x.setAttribute(jt, n);
    }
  });
  return p;
}, td = function(t, r, n) {
  var a = U(t, 4), i = a[1], o = a[2], l = a[3], s = n || {}, c = s.plain;
  if (!i)
    return null;
  var u = -999, d = {
    "data-rc-order": "prependQueue",
    "data-rc-priority": "".concat(u)
  }, f = Gr(i, l, o, d, c);
  return [u, o, f];
}, Yt;
Yt = {}, w(Yt, il, Ju), w(Yt, Uo, Pu), w(Yt, ol, td);
function Rt(e) {
  return e.notSplit = !0, e;
}
Rt(["borderTop", "borderBottom"]), Rt(["borderTop"]), Rt(["borderBottom"]), Rt(["borderLeft", "borderRight"]), Rt(["borderLeft"]), Rt(["borderRight"]);
function rd(e) {
  return po(e) || Mo(e) || Jr(e) || mo();
}
function rt(e, t) {
  for (var r = e, n = 0; n < t.length; n += 1) {
    if (r == null)
      return;
    r = r[t[n]];
  }
  return r;
}
function ll(e, t, r, n) {
  if (!t.length)
    return r;
  var a = rd(t), i = a[0], o = a.slice(1), l;
  return !e && typeof i == "number" ? l = [] : Array.isArray(e) ? l = Y(e) : l = F({}, e), n && r === void 0 && o.length === 1 ? delete l[i][o[0]] : l[i] = ll(l[i], o, r, n), l;
}
function ze(e, t, r) {
  var n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
  return t.length && n && r === void 0 && !rt(e, t.slice(0, -1)) ? e : ll(e, t, r, n);
}
function nd(e) {
  return J(e) === "object" && e !== null && Object.getPrototypeOf(e) === Object.prototype;
}
function Pi(e) {
  return Array.isArray(e) ? [] : {};
}
var ad = typeof Reflect > "u" ? Object.keys : Reflect.ownKeys;
function At() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  var n = Pi(t[0]);
  return t.forEach(function(a) {
    function i(o, l) {
      var s = new Set(l), c = rt(a, o), u = Array.isArray(c);
      if (u || nd(c)) {
        if (!s.has(c)) {
          s.add(c);
          var d = rt(n, o);
          u ? n = ze(n, o, []) : (!d || J(d) !== "object") && (n = ze(n, o, Pi(c))), ad(c).forEach(function(f) {
            i([].concat(Y(o), [f]), s);
          });
        }
      } else
        n = ze(n, o, c);
    }
    i([]);
  }), n;
}
const id = /* @__PURE__ */ Qr(void 0);
var od = {
  // Options
  items_per_page: "/ page",
  jump_to: "Go to",
  jump_to_confirm: "confirm",
  page: "Page",
  // Pagination
  prev_page: "Previous Page",
  next_page: "Next Page",
  prev_5: "Previous 5 Pages",
  next_5: "Next 5 Pages",
  prev_3: "Previous 3 Pages",
  next_3: "Next 3 Pages",
  page_size: "Page Size"
}, ld = {
  locale: "en_US",
  today: "Today",
  now: "Now",
  backToToday: "Back to today",
  ok: "OK",
  clear: "Clear",
  month: "Month",
  year: "Year",
  timeSelect: "select time",
  dateSelect: "select date",
  weekSelect: "Choose a week",
  monthSelect: "Choose a month",
  yearSelect: "Choose a year",
  decadeSelect: "Choose a decade",
  yearFormat: "YYYY",
  dateFormat: "M/D/YYYY",
  dayFormat: "D",
  dateTimeFormat: "M/D/YYYY HH:mm:ss",
  monthBeforeYear: !0,
  previousMonth: "Previous month (PageUp)",
  nextMonth: "Next month (PageDown)",
  previousYear: "Last year (Control + left)",
  nextYear: "Next year (Control + right)",
  previousDecade: "Last decade",
  nextDecade: "Next decade",
  previousCentury: "Last century",
  nextCentury: "Next century"
};
const sd = {
  placeholder: "Select time",
  rangePlaceholder: ["Start time", "End time"]
}, sl = sd, cd = {
  lang: Object.assign({
    placeholder: "Select date",
    yearPlaceholder: "Select year",
    quarterPlaceholder: "Select quarter",
    monthPlaceholder: "Select month",
    weekPlaceholder: "Select week",
    rangePlaceholder: ["Start date", "End date"],
    rangeYearPlaceholder: ["Start year", "End year"],
    rangeQuarterPlaceholder: ["Start quarter", "End quarter"],
    rangeMonthPlaceholder: ["Start month", "End month"],
    rangeWeekPlaceholder: ["Start week", "End week"]
  }, ld),
  timePickerLocale: Object.assign({}, sl)
}, Fi = cd, $e = "${label} is not a valid ${type}", cn = {
  locale: "en",
  Pagination: od,
  DatePicker: Fi,
  TimePicker: sl,
  Calendar: Fi,
  global: {
    placeholder: "Please select"
  },
  Table: {
    filterTitle: "Filter menu",
    filterConfirm: "OK",
    filterReset: "Reset",
    filterEmptyText: "No filters",
    filterCheckall: "Select all items",
    filterSearchPlaceholder: "Search in filters",
    emptyText: "No data",
    selectAll: "Select current page",
    selectInvert: "Invert current page",
    selectNone: "Clear all data",
    selectionAll: "Select all data",
    sortTitle: "Sort",
    expand: "Expand row",
    collapse: "Collapse row",
    triggerDesc: "Click to sort descending",
    triggerAsc: "Click to sort ascending",
    cancelSort: "Click to cancel sorting"
  },
  Tour: {
    Next: "Next",
    Previous: "Previous",
    Finish: "Finish"
  },
  Modal: {
    okText: "OK",
    cancelText: "Cancel",
    justOkText: "OK"
  },
  Popconfirm: {
    okText: "OK",
    cancelText: "Cancel"
  },
  Transfer: {
    titles: ["", ""],
    searchPlaceholder: "Search here",
    itemUnit: "item",
    itemsUnit: "items",
    remove: "Remove",
    selectCurrent: "Select current page",
    removeCurrent: "Remove current page",
    selectAll: "Select all data",
    removeAll: "Remove all data",
    selectInvert: "Invert current page"
  },
  Upload: {
    uploading: "Uploading...",
    removeFile: "Remove file",
    uploadError: "Upload error",
    previewFile: "Preview file",
    downloadFile: "Download file"
  },
  Empty: {
    description: "No data"
  },
  Icon: {
    icon: "icon"
  },
  Text: {
    edit: "Edit",
    copy: "Copy",
    copied: "Copied",
    expand: "Expand"
  },
  PageHeader: {
    back: "Back"
  },
  Form: {
    optional: "(optional)",
    defaultValidateMessages: {
      default: "Field validation error for ${label}",
      required: "Please enter ${label}",
      enum: "${label} must be one of [${enum}]",
      whitespace: "${label} cannot be a blank character",
      date: {
        format: "${label} date format is invalid",
        parse: "${label} cannot be converted to a date",
        invalid: "${label} is an invalid date"
      },
      types: {
        string: $e,
        method: $e,
        array: $e,
        object: $e,
        number: $e,
        date: $e,
        boolean: $e,
        integer: $e,
        float: $e,
        regexp: $e,
        email: $e,
        url: $e,
        hex: $e
      },
      string: {
        len: "${label} must be ${len} characters",
        min: "${label} must be at least ${min} characters",
        max: "${label} must be up to ${max} characters",
        range: "${label} must be between ${min}-${max} characters"
      },
      number: {
        len: "${label} must be equal to ${len}",
        min: "${label} must be minimum ${min}",
        max: "${label} must be maximum ${max}",
        range: "${label} must be between ${min}-${max}"
      },
      array: {
        len: "Must be ${len} ${label}",
        min: "At least ${min} ${label}",
        max: "At most ${max} ${label}",
        range: "The amount of ${label} must be between ${min}-${max}"
      },
      pattern: {
        mismatch: "${label} does not match the pattern ${pattern}"
      }
    }
  },
  Image: {
    preview: "Preview"
  },
  QRCode: {
    expired: "QR code expired",
    refresh: "Refresh"
  },
  ColorPicker: {
    presetEmpty: "Empty"
  }
};
Object.assign({}, cn.Modal);
let Br = [];
const $i = () => Br.reduce((e, t) => Object.assign(Object.assign({}, e), t), cn.Modal);
function ud(e) {
  if (e) {
    const t = Object.assign({}, e);
    return Br.push(t), $i(), () => {
      Br = Br.filter((r) => r !== t), $i();
    };
  }
  Object.assign({}, cn.Modal);
}
const dd = /* @__PURE__ */ Qr(void 0), cl = dd, ul = "internalMark", dl = (e) => {
  const {
    locale: t = {},
    children: r,
    _ANT_MARK__: n
  } = e;
  if (process.env.NODE_ENV !== "production") {
    const i = nn("LocaleProvider");
    process.env.NODE_ENV !== "production" && i(n === ul, "deprecated", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale");
  }
  T.useEffect(() => ud(t && t.Modal), [t]);
  const a = T.useMemo(() => Object.assign(Object.assign({}, t), {
    exist: !0
  }), [t]);
  return /* @__PURE__ */ T.createElement(cl.Provider, {
    value: a
  }, r);
};
process.env.NODE_ENV !== "production" && (dl.displayName = "LocaleProvider");
const fd = dl, gd = (e) => {
  const {
    controlHeight: t
  } = e;
  return {
    controlHeightSM: t * 0.75,
    controlHeightXS: t * 0.5,
    controlHeightLG: t * 1.25
  };
};
function pd(e) {
  const {
    sizeUnit: t,
    sizeStep: r
  } = e;
  return {
    sizeXXL: t * (r + 8),
    // 48
    sizeXL: t * (r + 4),
    // 32
    sizeLG: t * (r + 2),
    // 24
    sizeMD: t * (r + 1),
    // 20
    sizeMS: t * r,
    // 16
    size: t * r,
    // 16
    sizeSM: t * (r - 1),
    // 12
    sizeXS: t * (r - 2),
    // 8
    sizeXXS: t * (r - 3)
    // 4
  };
}
const fl = {
  blue: "#1677ff",
  purple: "#722ED1",
  cyan: "#13C2C2",
  green: "#52C41A",
  magenta: "#EB2F96",
  pink: "#eb2f96",
  red: "#F5222D",
  orange: "#FA8C16",
  yellow: "#FADB14",
  volcano: "#FA541C",
  geekblue: "#2F54EB",
  gold: "#FAAD14",
  lime: "#A0D911"
}, md = Object.assign(Object.assign({}, fl), {
  // Color
  colorPrimary: "#1677ff",
  colorSuccess: "#52c41a",
  colorWarning: "#faad14",
  colorError: "#ff4d4f",
  colorInfo: "#1677ff",
  colorLink: "",
  colorTextBase: "",
  colorBgBase: "",
  // Font
  fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,
  fontFamilyCode: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
  fontSize: 14,
  // Line
  lineWidth: 1,
  lineType: "solid",
  // Motion
  motionUnit: 0.1,
  motionBase: 0,
  motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)",
  motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)",
  motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)",
  motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)",
  motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)",
  motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)",
  motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
  motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
  // Radius
  borderRadius: 6,
  // Size
  sizeUnit: 4,
  sizeStep: 4,
  sizePopupArrow: 16,
  // Control Base
  controlHeight: 32,
  // zIndex
  zIndexBase: 0,
  zIndexPopupBase: 1e3,
  // Image
  opacityImage: 1,
  // Wireframe
  wireframe: !1,
  // Motion
  motion: !0
}), cr = md;
function vd(e, t) {
  let {
    generateColorPalettes: r,
    generateNeutralColorPalettes: n
  } = t;
  const {
    colorSuccess: a,
    colorWarning: i,
    colorError: o,
    colorInfo: l,
    colorPrimary: s,
    colorBgBase: c,
    colorTextBase: u
  } = e, d = r(s), f = r(a), h = r(i), b = r(o), p = r(l), g = n(c, u), m = e.colorLink || e.colorInfo, y = r(m);
  return Object.assign(Object.assign({}, g), {
    colorPrimaryBg: d[1],
    colorPrimaryBgHover: d[2],
    colorPrimaryBorder: d[3],
    colorPrimaryBorderHover: d[4],
    colorPrimaryHover: d[5],
    colorPrimary: d[6],
    colorPrimaryActive: d[7],
    colorPrimaryTextHover: d[8],
    colorPrimaryText: d[9],
    colorPrimaryTextActive: d[10],
    colorSuccessBg: f[1],
    colorSuccessBgHover: f[2],
    colorSuccessBorder: f[3],
    colorSuccessBorderHover: f[4],
    colorSuccessHover: f[4],
    colorSuccess: f[6],
    colorSuccessActive: f[7],
    colorSuccessTextHover: f[8],
    colorSuccessText: f[9],
    colorSuccessTextActive: f[10],
    colorErrorBg: b[1],
    colorErrorBgHover: b[2],
    colorErrorBorder: b[3],
    colorErrorBorderHover: b[4],
    colorErrorHover: b[5],
    colorError: b[6],
    colorErrorActive: b[7],
    colorErrorTextHover: b[8],
    colorErrorText: b[9],
    colorErrorTextActive: b[10],
    colorWarningBg: h[1],
    colorWarningBgHover: h[2],
    colorWarningBorder: h[3],
    colorWarningBorderHover: h[4],
    colorWarningHover: h[4],
    colorWarning: h[6],
    colorWarningActive: h[7],
    colorWarningTextHover: h[8],
    colorWarningText: h[9],
    colorWarningTextActive: h[10],
    colorInfoBg: p[1],
    colorInfoBgHover: p[2],
    colorInfoBorder: p[3],
    colorInfoBorderHover: p[4],
    colorInfoHover: p[4],
    colorInfo: p[6],
    colorInfoActive: p[7],
    colorInfoTextHover: p[8],
    colorInfoText: p[9],
    colorInfoTextActive: p[10],
    colorLinkHover: y[4],
    colorLink: y[6],
    colorLinkActive: y[7],
    colorBgMask: new Te("#000").setAlpha(0.45).toRgbString(),
    colorWhite: "#fff"
  });
}
const hd = (e) => {
  let t = e, r = e, n = e, a = e;
  return e < 6 && e >= 5 ? t = e + 1 : e < 16 && e >= 6 ? t = e + 2 : e >= 16 && (t = 16), e < 7 && e >= 5 ? r = 4 : e < 8 && e >= 7 ? r = 5 : e < 14 && e >= 8 ? r = 6 : e < 16 && e >= 14 ? r = 7 : e >= 16 && (r = 8), e < 6 && e >= 2 ? n = 1 : e >= 6 && (n = 2), e > 4 && e < 8 ? a = 4 : e >= 8 && (a = 6), {
    borderRadius: e,
    borderRadiusXS: n,
    borderRadiusSM: r,
    borderRadiusLG: t,
    borderRadiusOuter: a
  };
};
function bd(e) {
  const {
    motionUnit: t,
    motionBase: r,
    borderRadius: n,
    lineWidth: a
  } = e;
  return Object.assign({
    // motion
    motionDurationFast: `${(r + t).toFixed(1)}s`,
    motionDurationMid: `${(r + t * 2).toFixed(1)}s`,
    motionDurationSlow: `${(r + t * 3).toFixed(1)}s`,
    // line
    lineWidthBold: a + 1
  }, hd(n));
}
const ot = (e, t) => new Te(e).setAlpha(t).toRgbString(), Kt = (e, t) => new Te(e).darken(t).toHexString(), yd = (e) => {
  const t = Tt(e);
  return {
    1: t[0],
    2: t[1],
    3: t[2],
    4: t[3],
    5: t[4],
    6: t[5],
    7: t[6],
    8: t[4],
    9: t[5],
    10: t[6]
    // 8: colors[7],
    // 9: colors[8],
    // 10: colors[9],
  };
}, Sd = (e, t) => {
  const r = e || "#fff", n = t || "#000";
  return {
    colorBgBase: r,
    colorTextBase: n,
    colorText: ot(n, 0.88),
    colorTextSecondary: ot(n, 0.65),
    colorTextTertiary: ot(n, 0.45),
    colorTextQuaternary: ot(n, 0.25),
    colorFill: ot(n, 0.15),
    colorFillSecondary: ot(n, 0.06),
    colorFillTertiary: ot(n, 0.04),
    colorFillQuaternary: ot(n, 0.02),
    colorBgLayout: Kt(r, 4),
    colorBgContainer: Kt(r, 0),
    colorBgElevated: Kt(r, 0),
    colorBgSpotlight: ot(n, 0.85),
    colorBgBlur: "transparent",
    colorBorder: Kt(r, 15),
    colorBorderSecondary: Kt(r, 6)
  };
};
function xd(e) {
  const t = new Array(10).fill(null).map((r, n) => {
    const a = n - 1, i = e * Math.pow(2.71828, a / 5), o = n > 1 ? Math.floor(i) : Math.ceil(i);
    return Math.floor(o / 2) * 2;
  });
  return t[1] = e, t.map((r) => {
    const n = r + 8;
    return {
      size: r,
      lineHeight: n / r
    };
  });
}
const Ed = (e) => {
  const t = xd(e), r = t.map((u) => u.size), n = t.map((u) => u.lineHeight), a = r[1], i = r[0], o = r[2], l = n[1], s = n[0], c = n[2];
  return {
    fontSizeSM: i,
    fontSize: a,
    fontSizeLG: o,
    fontSizeXL: r[3],
    fontSizeHeading1: r[6],
    fontSizeHeading2: r[5],
    fontSizeHeading3: r[4],
    fontSizeHeading4: r[3],
    fontSizeHeading5: r[2],
    lineHeight: l,
    lineHeightLG: c,
    lineHeightSM: s,
    fontHeight: Math.round(l * a),
    fontHeightLG: Math.round(c * o),
    fontHeightSM: Math.round(s * i),
    lineHeightHeading1: n[6],
    lineHeightHeading2: n[5],
    lineHeightHeading3: n[4],
    lineHeightHeading4: n[3],
    lineHeightHeading5: n[2]
  };
};
function Cd(e) {
  const t = Object.keys(fl).map((r) => {
    const n = Tt(e[r]);
    return new Array(10).fill(1).reduce((a, i, o) => (a[`${r}-${o + 1}`] = n[o], a[`${r}${o + 1}`] = n[o], a), {});
  }).reduce((r, n) => (r = Object.assign(Object.assign({}, r), n), r), {});
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), t), vd(e, {
    generateColorPalettes: yd,
    generateNeutralColorPalettes: Sd
  })), Ed(e.fontSize)), pd(e)), gd(e)), bd(e));
}
const gl = qr(Cd), pl = {
  token: cr,
  override: {
    override: cr
  },
  hashed: !0
}, ml = /* @__PURE__ */ q.createContext(pl), vl = "anticon", wd = (e, t) => t || (e ? `ant-${e}` : "ant"), vr = /* @__PURE__ */ T.createContext({
  // We provide a default function for Context without provider
  getPrefixCls: wd,
  iconPrefixCls: vl
}), Td = `-ant-${Date.now()}-${Math.random()}`;
function Pd(e, t) {
  const r = {}, n = (o, l) => {
    let s = o.clone();
    return s = (l == null ? void 0 : l(s)) || s, s.toRgbString();
  }, a = (o, l) => {
    const s = new Te(o), c = Tt(s.toRgbString());
    r[`${l}-color`] = n(s), r[`${l}-color-disabled`] = c[1], r[`${l}-color-hover`] = c[4], r[`${l}-color-active`] = c[6], r[`${l}-color-outline`] = s.clone().setAlpha(0.2).toRgbString(), r[`${l}-color-deprecated-bg`] = c[0], r[`${l}-color-deprecated-border`] = c[2];
  };
  if (t.primaryColor) {
    a(t.primaryColor, "primary");
    const o = new Te(t.primaryColor), l = Tt(o.toRgbString());
    l.forEach((c, u) => {
      r[`primary-${u + 1}`] = c;
    }), r["primary-color-deprecated-l-35"] = n(o, (c) => c.lighten(35)), r["primary-color-deprecated-l-20"] = n(o, (c) => c.lighten(20)), r["primary-color-deprecated-t-20"] = n(o, (c) => c.tint(20)), r["primary-color-deprecated-t-50"] = n(o, (c) => c.tint(50)), r["primary-color-deprecated-f-12"] = n(o, (c) => c.setAlpha(c.getAlpha() * 0.12));
    const s = new Te(l[0]);
    r["primary-color-active-deprecated-f-30"] = n(s, (c) => c.setAlpha(c.getAlpha() * 0.3)), r["primary-color-active-deprecated-d-02"] = n(s, (c) => c.darken(2));
  }
  return t.successColor && a(t.successColor, "success"), t.warningColor && a(t.warningColor, "warning"), t.errorColor && a(t.errorColor, "error"), t.infoColor && a(t.infoColor, "info"), `
  :root {
    ${Object.keys(r).map((o) => `--${e}-${o}: ${r[o]};`).join(`
`)}
  }
  `.trim();
}
function Fd(e, t) {
  const r = Pd(e, t);
  nt() ? Pt(r, `${Td}-dynamic-theme`) : process.env.NODE_ENV !== "production" && an(!1, "ConfigProvider", "SSR do not support dynamic theme with css variables.");
}
const ta = /* @__PURE__ */ T.createContext(!1), $d = (e) => {
  let {
    children: t,
    disabled: r
  } = e;
  const n = T.useContext(ta);
  return /* @__PURE__ */ T.createElement(ta.Provider, {
    value: r ?? n
  }, t);
}, hl = ta, ra = /* @__PURE__ */ T.createContext(void 0), Od = (e) => {
  let {
    children: t,
    size: r
  } = e;
  const n = T.useContext(ra);
  return /* @__PURE__ */ T.createElement(ra.Provider, {
    value: r || n
  }, t);
}, un = ra;
function Rd() {
  const e = we(hl), t = we(un);
  return {
    componentDisabled: e,
    componentSize: t
  };
}
const _d = "5.12.8";
function Rn(e) {
  return e >= 0 && e <= 255;
}
function Rr(e, t) {
  const {
    r,
    g: n,
    b: a,
    a: i
  } = new Te(e).toRgb();
  if (i < 1)
    return e;
  const {
    r: o,
    g: l,
    b: s
  } = new Te(t).toRgb();
  for (let c = 0.01; c <= 1; c += 0.01) {
    const u = Math.round((r - o * (1 - c)) / c), d = Math.round((n - l * (1 - c)) / c), f = Math.round((a - s * (1 - c)) / c);
    if (Rn(u) && Rn(d) && Rn(f))
      return new Te({
        r: u,
        g: d,
        b: f,
        a: Math.round(c * 100) / 100
      }).toRgbString();
  }
  return new Te({
    r,
    g: n,
    b: a,
    a: 1
  }).toRgbString();
}
var kd = function(e, t) {
  var r = {};
  for (var n in e)
    Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
      t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
  return r;
};
function bl(e) {
  const {
    override: t
  } = e, r = kd(e, ["override"]), n = Object.assign({}, t);
  Object.keys(cr).forEach((f) => {
    delete n[f];
  });
  const a = Object.assign(Object.assign({}, r), n), i = 480, o = 576, l = 768, s = 992, c = 1200, u = 1600;
  if (a.motion === !1) {
    const f = "0s";
    a.motionDurationFast = f, a.motionDurationMid = f, a.motionDurationSlow = f;
  }
  return Object.assign(Object.assign(Object.assign({}, a), {
    // ============== Background ============== //
    colorFillContent: a.colorFillSecondary,
    colorFillContentHover: a.colorFill,
    colorFillAlter: a.colorFillQuaternary,
    colorBgContainerDisabled: a.colorFillTertiary,
    // ============== Split ============== //
    colorBorderBg: a.colorBgContainer,
    colorSplit: Rr(a.colorBorderSecondary, a.colorBgContainer),
    // ============== Text ============== //
    colorTextPlaceholder: a.colorTextQuaternary,
    colorTextDisabled: a.colorTextQuaternary,
    colorTextHeading: a.colorText,
    colorTextLabel: a.colorTextSecondary,
    colorTextDescription: a.colorTextTertiary,
    colorTextLightSolid: a.colorWhite,
    colorHighlight: a.colorError,
    colorBgTextHover: a.colorFillSecondary,
    colorBgTextActive: a.colorFill,
    colorIcon: a.colorTextTertiary,
    colorIconHover: a.colorText,
    colorErrorOutline: Rr(a.colorErrorBg, a.colorBgContainer),
    colorWarningOutline: Rr(a.colorWarningBg, a.colorBgContainer),
    // Font
    fontSizeIcon: a.fontSizeSM,
    // Line
    lineWidthFocus: a.lineWidth * 4,
    // Control
    lineWidth: a.lineWidth,
    controlOutlineWidth: a.lineWidth * 2,
    // Checkbox size and expand icon size
    controlInteractiveSize: a.controlHeight / 2,
    controlItemBgHover: a.colorFillTertiary,
    controlItemBgActive: a.colorPrimaryBg,
    controlItemBgActiveHover: a.colorPrimaryBgHover,
    controlItemBgActiveDisabled: a.colorFill,
    controlTmpOutline: a.colorFillQuaternary,
    controlOutline: Rr(a.colorPrimaryBg, a.colorBgContainer),
    lineType: a.lineType,
    borderRadius: a.borderRadius,
    borderRadiusXS: a.borderRadiusXS,
    borderRadiusSM: a.borderRadiusSM,
    borderRadiusLG: a.borderRadiusLG,
    fontWeightStrong: 600,
    opacityLoading: 0.65,
    linkDecoration: "none",
    linkHoverDecoration: "none",
    linkFocusDecoration: "none",
    controlPaddingHorizontal: 12,
    controlPaddingHorizontalSM: 8,
    paddingXXS: a.sizeXXS,
    paddingXS: a.sizeXS,
    paddingSM: a.sizeSM,
    padding: a.size,
    paddingMD: a.sizeMD,
    paddingLG: a.sizeLG,
    paddingXL: a.sizeXL,
    paddingContentHorizontalLG: a.sizeLG,
    paddingContentVerticalLG: a.sizeMS,
    paddingContentHorizontal: a.sizeMS,
    paddingContentVertical: a.sizeSM,
    paddingContentHorizontalSM: a.size,
    paddingContentVerticalSM: a.sizeXS,
    marginXXS: a.sizeXXS,
    marginXS: a.sizeXS,
    marginSM: a.sizeSM,
    margin: a.size,
    marginMD: a.sizeMD,
    marginLG: a.sizeLG,
    marginXL: a.sizeXL,
    marginXXL: a.sizeXXL,
    boxShadow: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowSecondary: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowTertiary: `
      0 1px 2px 0 rgba(0, 0, 0, 0.03),
      0 1px 6px -1px rgba(0, 0, 0, 0.02),
      0 2px 4px 0 rgba(0, 0, 0, 0.02)
    `,
    screenXS: i,
    screenXSMin: i,
    screenXSMax: o - 1,
    screenSM: o,
    screenSMMin: o,
    screenSMMax: l - 1,
    screenMD: l,
    screenMDMin: l,
    screenMDMax: s - 1,
    screenLG: s,
    screenLGMin: s,
    screenLGMax: c - 1,
    screenXL: c,
    screenXLMin: c,
    screenXLMax: u - 1,
    screenXXL: u,
    screenXXLMin: u,
    boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
    boxShadowCard: `
      0 1px 2px -2px ${new Te("rgba(0, 0, 0, 0.16)").toRgbString()},
      0 3px 6px 0 ${new Te("rgba(0, 0, 0, 0.12)").toRgbString()},
      0 5px 12px 4px ${new Te("rgba(0, 0, 0, 0.09)").toRgbString()}
    `,
    boxShadowDrawerRight: `
      -6px 0 16px 0 rgba(0, 0, 0, 0.08),
      -3px 0 6px -4px rgba(0, 0, 0, 0.12),
      -9px 0 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowDrawerLeft: `
      6px 0 16px 0 rgba(0, 0, 0, 0.08),
      3px 0 6px -4px rgba(0, 0, 0, 0.12),
      9px 0 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowDrawerUp: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowDrawerDown: `
      0 -6px 16px 0 rgba(0, 0, 0, 0.08),
      0 -3px 6px -4px rgba(0, 0, 0, 0.12),
      0 -9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
    boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
    boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
    boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
    boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
  }), n);
}
var Oi = function(e, t) {
  var r = {};
  for (var n in e)
    Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
      t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
  return r;
};
const yl = {
  lineHeight: !0,
  lineHeightSM: !0,
  lineHeightLG: !0,
  lineHeightHeading1: !0,
  lineHeightHeading2: !0,
  lineHeightHeading3: !0,
  lineHeightHeading4: !0,
  lineHeightHeading5: !0,
  opacityLoading: !0,
  fontWeightStrong: !0,
  zIndexPopupBase: !0,
  zIndexBase: !0
}, Sl = {
  size: !0,
  sizeSM: !0,
  sizeLG: !0,
  sizeMD: !0,
  sizeXS: !0,
  sizeXXS: !0,
  sizeMS: !0,
  sizeXL: !0,
  sizeXXL: !0,
  sizeUnit: !0,
  sizeStep: !0,
  motionBase: !0,
  motionUnit: !0
}, Md = {
  screenXS: !0,
  screenXSMin: !0,
  screenXSMax: !0,
  screenSM: !0,
  screenSMMin: !0,
  screenSMMax: !0,
  screenMD: !0,
  screenMDMin: !0,
  screenMDMax: !0,
  screenLG: !0,
  screenLGMin: !0,
  screenLGMax: !0,
  screenXL: !0,
  screenXLMin: !0,
  screenXLMax: !0,
  screenXXL: !0,
  screenXXLMin: !0
}, xl = (e, t, r) => {
  const n = r.getDerivativeToken(e), {
    override: a
  } = t, i = Oi(t, ["override"]);
  let o = Object.assign(Object.assign({}, n), {
    override: a
  });
  return o = bl(o), i && Object.entries(i).forEach((l) => {
    let [s, c] = l;
    const {
      theme: u
    } = c, d = Oi(c, ["theme"]);
    let f = d;
    u && (f = xl(Object.assign(Object.assign({}, o), d), {
      override: d
    }, u)), o[s] = f;
  }), o;
};
function Ht() {
  const {
    token: e,
    hashed: t,
    theme: r,
    override: n,
    cssVar: a
  } = q.useContext(ml), i = `${_d}-${t || ""}`, o = r || gl, [l, s, c] = qo(o, [cr, e], {
    salt: i,
    override: n,
    getComputedToken: xl,
    // formatToken will not be consumed after 1.15.0 with getComputedToken.
    // But token will break if @ant-design/cssinjs is under 1.15.0 without it
    formatToken: bl,
    cssVar: a && {
      prefix: a.prefix,
      key: a.key,
      unitless: yl,
      ignore: Sl,
      preserve: Md
    }
  });
  return [o, c, t ? s : "", l, a];
}
const El = function(e) {
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
  return {
    boxSizing: "border-box",
    margin: 0,
    padding: 0,
    color: e.colorText,
    fontSize: e.fontSize,
    // font-variant: @font-variant-base;
    lineHeight: e.lineHeight,
    listStyle: "none",
    // font-feature-settings: @font-feature-settings-base;
    fontFamily: t ? "inherit" : e.fontFamily
  };
}, Ad = () => ({
  display: "inline-flex",
  alignItems: "center",
  color: "inherit",
  fontStyle: "normal",
  lineHeight: 0,
  textAlign: "center",
  textTransform: "none",
  // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
  verticalAlign: "-0.125em",
  textRendering: "optimizeLegibility",
  "-webkit-font-smoothing": "antialiased",
  "-moz-osx-font-smoothing": "grayscale",
  "> *": {
    lineHeight: 1
  },
  svg: {
    display: "inline-block"
  }
}), Id = () => ({
  // https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
  "&::before": {
    display: "table",
    content: '""'
  },
  "&::after": {
    // https://github.com/ant-design/ant-design/issues/21864
    display: "table",
    clear: "both",
    content: '""'
  }
}), Ld = (e) => ({
  a: {
    color: e.colorLink,
    textDecoration: e.linkDecoration,
    backgroundColor: "transparent",
    // remove the gray background on active links in IE 10.
    outline: "none",
    cursor: "pointer",
    transition: `color ${e.motionDurationSlow}`,
    "-webkit-text-decoration-skip": "objects",
    // remove gaps in links underline in iOS 8+ and Safari 8+.
    "&:hover": {
      color: e.colorLinkHover
    },
    "&:active": {
      color: e.colorLinkActive
    },
    "&:active,\n  &:hover": {
      textDecoration: e.linkHoverDecoration,
      outline: 0
    },
    // https://github.com/ant-design/ant-design/issues/22503
    "&:focus": {
      textDecoration: e.linkFocusDecoration,
      outline: 0
    },
    "&[disabled]": {
      color: e.colorTextDisabled,
      cursor: "not-allowed"
    }
  }
}), Dd = (e, t) => {
  const {
    fontFamily: r,
    fontSize: n
  } = e, a = `[class^="${t}"], [class*=" ${t}"]`;
  return {
    [a]: {
      fontFamily: r,
      fontSize: n,
      boxSizing: "border-box",
      "&::before, &::after": {
        boxSizing: "border-box"
      },
      [a]: {
        boxSizing: "border-box",
        "&::before, &::after": {
          boxSizing: "border-box"
        }
      }
    }
  };
};
function na(e, t) {
  return na = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, a) {
    return n.__proto__ = a, n;
  }, na(e, t);
}
function hr(e, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError("Super expression must either be null or a function");
  e.prototype = Object.create(t && t.prototype, {
    constructor: {
      value: e,
      writable: !0,
      configurable: !0
    }
  }), Object.defineProperty(e, "prototype", {
    writable: !1
  }), t && na(e, t);
}
function Yr(e) {
  return Yr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
    return r.__proto__ || Object.getPrototypeOf(r);
  }, Yr(e);
}
function Cl() {
  try {
    var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    }));
  } catch {
  }
  return (Cl = function() {
    return !!e;
  })();
}
function Q(e) {
  if (e === void 0)
    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}
function Nd(e, t) {
  if (t && (J(t) === "object" || typeof t == "function"))
    return t;
  if (t !== void 0)
    throw new TypeError("Derived constructors may only return object or undefined");
  return Q(e);
}
function br(e) {
  var t = Cl();
  return function() {
    var n = Yr(e), a;
    if (t) {
      var i = Yr(this).constructor;
      a = Reflect.construct(n, arguments, i);
    } else
      a = n.apply(this, arguments);
    return Nd(this, a);
  };
}
let jd = /* @__PURE__ */ Ze(function e() {
  Xe(this, e);
});
const wl = jd;
let Vd = /* @__PURE__ */ function(e) {
  hr(r, e);
  var t = br(r);
  function r(n) {
    var a;
    return Xe(this, r), a = t.call(this), a.result = 0, n instanceof r ? a.result = n.result : typeof n == "number" && (a.result = n), a;
  }
  return Ze(r, [{
    key: "add",
    value: function(a) {
      return a instanceof r ? this.result += a.result : typeof a == "number" && (this.result += a), this;
    }
  }, {
    key: "sub",
    value: function(a) {
      return a instanceof r ? this.result -= a.result : typeof a == "number" && (this.result -= a), this;
    }
  }, {
    key: "mul",
    value: function(a) {
      return a instanceof r ? this.result *= a.result : typeof a == "number" && (this.result *= a), this;
    }
  }, {
    key: "div",
    value: function(a) {
      return a instanceof r ? this.result /= a.result : typeof a == "number" && (this.result /= a), this;
    }
  }, {
    key: "equal",
    value: function() {
      return this.result;
    }
  }]), r;
}(wl);
const Tl = "CALC_UNIT";
function _n(e) {
  return typeof e == "number" ? `${e}${Tl}` : e;
}
let Hd = /* @__PURE__ */ function(e) {
  hr(r, e);
  var t = br(r);
  function r(n) {
    var a;
    return Xe(this, r), a = t.call(this), a.result = "", n instanceof r ? a.result = `(${n.result})` : typeof n == "number" ? a.result = _n(n) : typeof n == "string" && (a.result = n), a;
  }
  return Ze(r, [{
    key: "add",
    value: function(a) {
      return a instanceof r ? this.result = `${this.result} + ${a.getResult()}` : (typeof a == "number" || typeof a == "string") && (this.result = `${this.result} + ${_n(a)}`), this.lowPriority = !0, this;
    }
  }, {
    key: "sub",
    value: function(a) {
      return a instanceof r ? this.result = `${this.result} - ${a.getResult()}` : (typeof a == "number" || typeof a == "string") && (this.result = `${this.result} - ${_n(a)}`), this.lowPriority = !0, this;
    }
  }, {
    key: "mul",
    value: function(a) {
      return this.lowPriority && (this.result = `(${this.result})`), a instanceof r ? this.result = `${this.result} * ${a.getResult(!0)}` : (typeof a == "number" || typeof a == "string") && (this.result = `${this.result} * ${a}`), this.lowPriority = !1, this;
    }
  }, {
    key: "div",
    value: function(a) {
      return this.lowPriority && (this.result = `(${this.result})`), a instanceof r ? this.result = `${this.result} / ${a.getResult(!0)}` : (typeof a == "number" || typeof a == "string") && (this.result = `${this.result} / ${a}`), this.lowPriority = !1, this;
    }
  }, {
    key: "getResult",
    value: function(a) {
      return this.lowPriority || a ? `(${this.result})` : this.result;
    }
  }, {
    key: "equal",
    value: function(a) {
      const {
        unit: i = !0
      } = a || {}, o = new RegExp(`${Tl}`, "g");
      return this.result = this.result.replace(o, i ? "px" : ""), typeof this.lowPriority < "u" ? `calc(${this.result})` : this.result;
    }
  }]), r;
}(wl);
const Bd = (e) => {
  const t = e === "css" ? Hd : Vd;
  return (r) => new t(r);
};
function zd(e) {
  return e === "js" ? {
    max: Math.max,
    min: Math.min
  } : {
    max: function() {
      for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
        r[n] = arguments[n];
      return `max(${r.map((a) => Ce(a)).join(",")})`;
    },
    min: function() {
      for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
        r[n] = arguments[n];
      return `min(${r.map((a) => Ce(a)).join(",")})`;
    }
  };
}
const Pl = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u";
let aa = !0;
function Ft() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  if (!Pl)
    return Object.assign.apply(Object, [{}].concat(t));
  aa = !1;
  const n = {};
  return t.forEach((a) => {
    Object.keys(a).forEach((o) => {
      Object.defineProperty(n, o, {
        configurable: !0,
        enumerable: !0,
        get: () => a[o]
      });
    });
  }), aa = !0, n;
}
const Ri = {};
function Wd() {
}
const Ud = (e) => {
  let t, r = e, n = Wd;
  return Pl && typeof Proxy < "u" && (t = /* @__PURE__ */ new Set(), r = new Proxy(e, {
    get(a, i) {
      return aa && t.add(i), a[i];
    }
  }), n = (a, i) => {
    var o;
    Ri[a] = {
      global: Array.from(t),
      component: Object.assign(Object.assign({}, (o = Ri[a]) === null || o === void 0 ? void 0 : o.component), i)
    };
  }), {
    token: r,
    keys: t,
    flush: n
  };
}, Fl = (e, t) => {
  const [r, n] = Ht();
  return ea({
    theme: r,
    token: n,
    hashId: "",
    path: ["ant-design-icons", e],
    nonce: () => t == null ? void 0 : t.nonce
  }, () => [{
    [`.${e}`]: Object.assign(Object.assign({}, Ad()), {
      [`.${e} .${e}-icon`]: {
        display: "block"
      }
    })
  }]);
}, $l = (e, t, r) => {
  var n;
  return typeof r == "function" ? r(Ft(t, (n = t[e]) !== null && n !== void 0 ? n : {})) : r ?? {};
}, Ol = (e, t, r, n) => {
  const a = Object.assign({}, t[e]);
  if (n != null && n.deprecatedTokens) {
    const {
      deprecatedTokens: o
    } = n;
    o.forEach((l) => {
      let [s, c] = l;
      var u;
      process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && ce(!(a != null && a[s]), `The token '${String(s)}' of ${e} had deprecated, use '${String(c)}' instead.`), (a != null && a[s] || a != null && a[c]) && ((u = a[c]) !== null && u !== void 0 || (a[c] = a == null ? void 0 : a[s]));
    });
  }
  let i = Object.assign(Object.assign({}, r), a);
  return n != null && n.format && (i = n.format(i)), Object.keys(i).forEach((o) => {
    i[o] === t[o] && delete i[o];
  }), i;
}, qd = (e, t) => `${[t, e.replace(/([A-Z]+)([A-Z][a-z]+)/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2")].filter(Boolean).join("-")}`;
function Gd(e, t, r) {
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
  const a = Array.isArray(e) ? e : [e, e], [i] = a, o = a.join("-");
  return (l) => {
    const [s, c, u, d, f] = Ht(), {
      getPrefixCls: h,
      iconPrefixCls: b,
      csp: p
    } = we(vr), g = h(), m = f ? "css" : "js", y = Bd(m), {
      max: v,
      min: x
    } = zd(m), C = {
      theme: s,
      token: d,
      hashId: u,
      nonce: () => p == null ? void 0 : p.nonce,
      clientOnly: n.clientOnly,
      // antd is always at top of styles
      order: n.order || -999
    };
    return ea(Object.assign(Object.assign({}, C), {
      clientOnly: !1,
      path: ["Shared", g]
    }), () => [{
      // Link
      "&": Ld(d)
    }]), Fl(b, p), [ea(Object.assign(Object.assign({}, C), {
      path: [o, l, b]
    }), () => {
      if (n.injectStyle === !1)
        return [];
      const {
        token: S,
        flush: $
      } = Ud(d), k = $l(i, c, r), _ = `.${l}`, L = Ol(i, c, k, {
        deprecatedTokens: n.deprecatedTokens,
        format: n.format
      });
      f && Object.keys(k).forEach((I) => {
        k[I] = `var(${zo(I, qd(i, f.prefix))})`;
      });
      const A = Ft(S, {
        componentCls: _,
        prefixCls: l,
        iconCls: `.${b}`,
        antCls: `.${g}`,
        calc: y,
        max: v,
        min: x
      }, f ? k : L), M = t(A, {
        hashId: u,
        prefixCls: l,
        rootPrefixCls: g,
        iconPrefixCls: b
      });
      return $(i, L), [n.resetStyle === !1 ? null : Dd(A, l), M];
    }), u];
  };
}
const Yd = (e, t, r) => {
  function n(c) {
    return `${e}${c.slice(0, 1).toUpperCase()}${c.slice(1)}`;
  }
  const {
    unitless: a = {},
    injectStyle: i = !0
  } = r ?? {}, o = {
    [n("zIndexPopup")]: !0
  };
  Object.keys(a).forEach((c) => {
    o[n(c)] = a[c];
  });
  const l = (c) => {
    let {
      rootCls: u,
      cssVar: d
    } = c;
    const [, f] = Ht();
    return ed({
      path: [e],
      prefix: d.prefix,
      key: d == null ? void 0 : d.key,
      unitless: Object.assign(Object.assign({}, yl), o),
      ignore: Sl,
      token: f,
      scope: u
    }, () => {
      const h = $l(e, f, t), b = Ol(e, f, h, {
        format: r == null ? void 0 : r.format,
        deprecatedTokens: r == null ? void 0 : r.deprecatedTokens
      });
      return Object.keys(h).forEach((p) => {
        b[n(p)] = b[p], delete b[p];
      }), b;
    }), null;
  };
  return (c) => {
    const [, , , , u] = Ht();
    return [(d) => i && u ? /* @__PURE__ */ q.createElement(q.Fragment, null, /* @__PURE__ */ q.createElement(l, {
      rootCls: c,
      cssVar: u,
      component: e
    }), d) : d, u == null ? void 0 : u.key];
  };
}, Kd = (e, t, r, n) => {
  const a = Gd(e, t, r, n), i = Yd(Array.isArray(e) ? e[0] : e, r, n);
  return function(o) {
    let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : o;
    const [, s] = a(o), [c, u] = i(l);
    return [c, s, u];
  };
}, Xd = Object.assign({}, T), {
  useId: _i
} = Xd, Zd = () => "", Qd = typeof _i > "u" ? Zd : _i;
function Jd(e, t) {
  var r;
  const n = nn("ConfigProvider"), a = e || {}, i = a.inherit === !1 || !t ? pl : t, o = Qd();
  if (process.env.NODE_ENV !== "production") {
    const l = a.cssVar || i.cssVar, s = !!(typeof a.cssVar == "object" && (!((r = a.cssVar) === null || r === void 0) && r.key) || o);
    process.env.NODE_ENV !== "production" && n(!l || s, "breaking", "Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");
  }
  return Lo(() => {
    var l, s;
    if (!e)
      return t;
    const c = Object.assign({}, i.components);
    Object.keys(e.components || {}).forEach((f) => {
      c[f] = Object.assign(Object.assign({}, c[f]), e.components[f]);
    });
    const u = `css-var-${o.replace(/:/g, "")}`, d = ((l = a.cssVar) !== null && l !== void 0 ? l : i.cssVar) && Object.assign(Object.assign(Object.assign({
      prefix: "ant"
    }, typeof i.cssVar == "object" ? i.cssVar : {}), typeof a.cssVar == "object" ? a.cssVar : {}), {
      key: typeof a.cssVar == "object" && ((s = a.cssVar) === null || s === void 0 ? void 0 : s.key) || u
    });
    return Object.assign(Object.assign(Object.assign({}, i), a), {
      token: Object.assign(Object.assign({}, i.token), a.token),
      components: c,
      cssVar: d
    });
  }, [a, i], (l, s) => l.some((c, u) => {
    const d = s[u];
    return !Vo(c, d, !0);
  }));
}
function ef(e) {
  return e instanceof HTMLElement || e instanceof SVGElement;
}
function tf(e) {
  return ef(e) ? e : e instanceof q.Component ? Vs.findDOMNode(e) : null;
}
var rf = ["children"], Rl = /* @__PURE__ */ T.createContext({});
function nf(e) {
  var t = e.children, r = je(e, rf);
  return /* @__PURE__ */ T.createElement(Rl.Provider, {
    value: r
  }, t);
}
var af = /* @__PURE__ */ function(e) {
  hr(r, e);
  var t = br(r);
  function r() {
    return Xe(this, r), t.apply(this, arguments);
  }
  return Ze(r, [{
    key: "render",
    value: function() {
      return this.props.children;
    }
  }]), r;
}(T.Component), ht = "none", _r = "appear", kr = "enter", Mr = "leave", ki = "none", We = "prepare", It = "start", Lt = "active", Ha = "end", _l = "prepared";
function Mi(e, t) {
  var r = {};
  return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit".concat(e)] = "webkit".concat(t), r["Moz".concat(e)] = "moz".concat(t), r["ms".concat(e)] = "MS".concat(t), r["O".concat(e)] = "o".concat(t.toLowerCase()), r;
}
function of(e, t) {
  var r = {
    animationend: Mi("Animation", "AnimationEnd"),
    transitionend: Mi("Transition", "TransitionEnd")
  };
  return e && ("AnimationEvent" in t || delete r.animationend.animation, "TransitionEvent" in t || delete r.transitionend.transition), r;
}
var lf = of(nt(), typeof window < "u" ? window : {}), kl = {};
if (nt()) {
  var sf = document.createElement("div");
  kl = sf.style;
}
var Ar = {};
function Ml(e) {
  if (Ar[e])
    return Ar[e];
  var t = lf[e];
  if (t)
    for (var r = Object.keys(t), n = r.length, a = 0; a < n; a += 1) {
      var i = r[a];
      if (Object.prototype.hasOwnProperty.call(t, i) && i in kl)
        return Ar[e] = t[i], Ar[e];
    }
  return "";
}
var Al = Ml("animationend"), Il = Ml("transitionend"), Ll = !!(Al && Il), Ai = Al || "animationend", Ii = Il || "transitionend";
function Li(e, t) {
  if (!e)
    return null;
  if (J(e) === "object") {
    var r = t.replace(/-\w/g, function(n) {
      return n[1].toUpperCase();
    });
    return e[r];
  }
  return "".concat(e, "-").concat(t);
}
const cf = function(e) {
  var t = ye(), r = ye(e);
  r.current = e;
  var n = T.useCallback(function(o) {
    r.current(o);
  }, []);
  function a(o) {
    o && (o.removeEventListener(Ii, n), o.removeEventListener(Ai, n));
  }
  function i(o) {
    t.current && t.current !== o && a(t.current), o && o !== t.current && (o.addEventListener(Ii, n), o.addEventListener(Ai, n), t.current = o);
  }
  return T.useEffect(function() {
    return function() {
      a(t.current);
    };
  }, []), [i, a];
};
var Dl = nt() ? fo : Ne, Nl = function(t) {
  return +setTimeout(t, 16);
}, jl = function(t) {
  return clearTimeout(t);
};
typeof window < "u" && "requestAnimationFrame" in window && (Nl = function(t) {
  return window.requestAnimationFrame(t);
}, jl = function(t) {
  return window.cancelAnimationFrame(t);
});
var Di = 0, dn = /* @__PURE__ */ new Map();
function Vl(e) {
  dn.delete(e);
}
var Kr = function(t) {
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
  Di += 1;
  var n = Di;
  function a(i) {
    if (i === 0)
      Vl(n), t();
    else {
      var o = Nl(function() {
        a(i - 1);
      });
      dn.set(n, o);
    }
  }
  return a(r), n;
};
Kr.cancel = function(e) {
  var t = dn.get(e);
  return Vl(e), jl(t);
};
process.env.NODE_ENV !== "production" && (Kr.ids = function() {
  return dn;
});
const uf = function() {
  var e = T.useRef(null);
  function t() {
    Kr.cancel(e.current);
  }
  function r(n) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
    t();
    var i = Kr(function() {
      a <= 1 ? n({
        isCanceled: function() {
          return i !== e.current;
        }
      }) : r(n, a - 1);
    });
    e.current = i;
  }
  return T.useEffect(function() {
    return function() {
      t();
    };
  }, []), [r, t];
};
var df = [We, It, Lt, Ha], ff = [We, _l], Hl = !1, gf = !0;
function Bl(e) {
  return e === Lt || e === Ha;
}
const pf = function(e, t, r) {
  var n = Dt(ki), a = U(n, 2), i = a[0], o = a[1], l = uf(), s = U(l, 2), c = s[0], u = s[1];
  function d() {
    o(We, !0);
  }
  var f = t ? ff : df;
  return Dl(function() {
    if (i !== ki && i !== Ha) {
      var h = f.indexOf(i), b = f[h + 1], p = r(i);
      p === Hl ? o(b, !0) : b && c(function(g) {
        function m() {
          g.isCanceled() || o(b, !0);
        }
        p === !0 ? m() : Promise.resolve(p).then(m);
      });
    }
  }, [e, i]), T.useEffect(function() {
    return function() {
      u();
    };
  }, []), [d, i];
};
function mf(e, t, r, n) {
  var a = n.motionEnter, i = a === void 0 ? !0 : a, o = n.motionAppear, l = o === void 0 ? !0 : o, s = n.motionLeave, c = s === void 0 ? !0 : s, u = n.motionDeadline, d = n.motionLeaveImmediately, f = n.onAppearPrepare, h = n.onEnterPrepare, b = n.onLeavePrepare, p = n.onAppearStart, g = n.onEnterStart, m = n.onLeaveStart, y = n.onAppearActive, v = n.onEnterActive, x = n.onLeaveActive, C = n.onAppearEnd, E = n.onEnterEnd, S = n.onLeaveEnd, $ = n.onVisibleChanged, k = Dt(), _ = U(k, 2), L = _[0], A = _[1], M = Dt(ht), I = U(M, 2), H = I[0], O = I[1], P = Dt(null), R = U(P, 2), D = R[0], N = R[1], j = ye(!1), V = ye(null);
  function W() {
    return r();
  }
  var K = ye(!1);
  function G() {
    O(ht, !0), N(null, !0);
  }
  function ee(X) {
    var z = W();
    if (!(X && !X.deadline && X.target !== z)) {
      var ae = K.current, ue;
      H === _r && ae ? ue = C == null ? void 0 : C(z, X) : H === kr && ae ? ue = E == null ? void 0 : E(z, X) : H === Mr && ae && (ue = S == null ? void 0 : S(z, X)), H !== ht && ae && ue !== !1 && G();
    }
  }
  var le = cf(ee), Pe = U(le, 1), Ie = Pe[0], Fe = function(z) {
    var ae, ue, Ee;
    switch (z) {
      case _r:
        return ae = {}, w(ae, We, f), w(ae, It, p), w(ae, Lt, y), ae;
      case kr:
        return ue = {}, w(ue, We, h), w(ue, It, g), w(ue, Lt, v), ue;
      case Mr:
        return Ee = {}, w(Ee, We, b), w(Ee, It, m), w(Ee, Lt, x), Ee;
      default:
        return {};
    }
  }, se = T.useMemo(function() {
    return Fe(H);
  }, [H]), Se = pf(H, !e, function(X) {
    if (X === We) {
      var z = se[We];
      return z ? z(W()) : Hl;
    }
    if (xe in se) {
      var ae;
      N(((ae = se[xe]) === null || ae === void 0 ? void 0 : ae.call(se, W(), null)) || null);
    }
    return xe === Lt && (Ie(W()), u > 0 && (clearTimeout(V.current), V.current = setTimeout(function() {
      ee({
        deadline: !0
      });
    }, u))), xe === _l && G(), gf;
  }), ut = U(Se, 2), B = ut[0], xe = ut[1], Qe = Bl(xe);
  K.current = Qe, Dl(function() {
    A(t);
    var X = j.current;
    j.current = !0;
    var z;
    !X && t && l && (z = _r), X && t && i && (z = kr), (X && !t && c || !X && d && !t && c) && (z = Mr);
    var ae = Fe(z);
    z && (e || ae[We]) ? (O(z), B()) : O(ht);
  }, [t]), Ne(function() {
    // Cancel appear
    (H === _r && !l || // Cancel enter
    H === kr && !i || // Cancel leave
    H === Mr && !c) && O(ht);
  }, [l, i, c]), Ne(function() {
    return function() {
      j.current = !1, clearTimeout(V.current);
    };
  }, []);
  var Je = T.useRef(!1);
  Ne(function() {
    L && (Je.current = !0), L !== void 0 && H === ht && ((Je.current || L) && ($ == null || $(L)), Je.current = !0);
  }, [L, H]);
  var vt = D;
  return se[We] && xe === It && (vt = F({
    transition: "none"
  }, vt)), [H, xe, vt, L ?? t];
}
function vf(e) {
  var t = e;
  J(e) === "object" && (t = e.transitionSupport);
  function r(a, i) {
    return !!(a.motionName && t && i !== !1);
  }
  var n = /* @__PURE__ */ T.forwardRef(function(a, i) {
    var o = a.visible, l = o === void 0 ? !0 : o, s = a.removeOnLeave, c = s === void 0 ? !0 : s, u = a.forceRender, d = a.children, f = a.motionName, h = a.leavedClassName, b = a.eventProps, p = T.useContext(Rl), g = p.motion, m = r(a, g), y = ye(), v = ye();
    function x() {
      try {
        return y.current instanceof HTMLElement ? y.current : tf(v.current);
      } catch {
        return null;
      }
    }
    var C = mf(m, l, x, a), E = U(C, 4), S = E[0], $ = E[1], k = E[2], _ = E[3], L = T.useRef(_);
    _ && (L.current = !0);
    var A = T.useCallback(function(N) {
      y.current = N, Do(i, N);
    }, [i]), M, I = F(F({}, b), {}, {
      visible: l
    });
    if (!d)
      M = null;
    else if (S === ht)
      _ ? M = d(F({}, I), A) : !c && L.current && h ? M = d(F(F({}, I), {}, {
        className: h
      }), A) : u || !c && !h ? M = d(F(F({}, I), {}, {
        style: {
          display: "none"
        }
      }), A) : M = null;
    else {
      var H, O;
      $ === We ? O = "prepare" : Bl($) ? O = "active" : $ === It && (O = "start");
      var P = Li(f, "".concat(S, "-").concat(O));
      M = d(F(F({}, I), {}, {
        className: pe(Li(f, S), (H = {}, w(H, P, P && O), w(H, f, typeof f == "string"), H)),
        style: k
      }), A);
    }
    if (/* @__PURE__ */ T.isValidElement(M) && Kc(M)) {
      var R = M, D = R.ref;
      D || (M = /* @__PURE__ */ T.cloneElement(M, {
        ref: A
      }));
    }
    return /* @__PURE__ */ T.createElement(af, {
      ref: v
    }, M);
  });
  return n.displayName = "CSSMotion", n;
}
const hf = vf(Ll);
var ia = "add", oa = "keep", la = "remove", kn = "removed";
function bf(e) {
  var t;
  return e && J(e) === "object" && "key" in e ? t = e : t = {
    key: e
  }, F(F({}, t), {}, {
    key: String(t.key)
  });
}
function sa() {
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
  return e.map(bf);
}
function yf() {
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = [], n = 0, a = t.length, i = sa(e), o = sa(t);
  i.forEach(function(c) {
    for (var u = !1, d = n; d < a; d += 1) {
      var f = o[d];
      if (f.key === c.key) {
        n < d && (r = r.concat(o.slice(n, d).map(function(h) {
          return F(F({}, h), {}, {
            status: ia
          });
        })), n = d), r.push(F(F({}, f), {}, {
          status: oa
        })), n += 1, u = !0;
        break;
      }
    }
    u || r.push(F(F({}, c), {}, {
      status: la
    }));
  }), n < a && (r = r.concat(o.slice(n).map(function(c) {
    return F(F({}, c), {}, {
      status: ia
    });
  })));
  var l = {};
  r.forEach(function(c) {
    var u = c.key;
    l[u] = (l[u] || 0) + 1;
  });
  var s = Object.keys(l).filter(function(c) {
    return l[c] > 1;
  });
  return s.forEach(function(c) {
    r = r.filter(function(u) {
      var d = u.key, f = u.status;
      return d !== c || f !== la;
    }), r.forEach(function(u) {
      u.key === c && (u.status = oa);
    });
  }), r;
}
var Sf = ["component", "children", "onVisibleChanged", "onAllRemoved"], xf = ["status"], Ef = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
function Cf(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : hf, r = /* @__PURE__ */ function(n) {
    hr(i, n);
    var a = br(i);
    function i() {
      var o;
      Xe(this, i);
      for (var l = arguments.length, s = new Array(l), c = 0; c < l; c++)
        s[c] = arguments[c];
      return o = a.call.apply(a, [this].concat(s)), w(Q(o), "state", {
        keyEntities: []
      }), w(Q(o), "removeKey", function(u) {
        var d = o.state.keyEntities, f = d.map(function(h) {
          return h.key !== u ? h : F(F({}, h), {}, {
            status: kn
          });
        });
        return o.setState({
          keyEntities: f
        }), f.filter(function(h) {
          var b = h.status;
          return b !== kn;
        }).length;
      }), o;
    }
    return Ze(i, [{
      key: "render",
      value: function() {
        var l = this, s = this.state.keyEntities, c = this.props, u = c.component, d = c.children, f = c.onVisibleChanged, h = c.onAllRemoved, b = je(c, Sf), p = u || T.Fragment, g = {};
        return Ef.forEach(function(m) {
          g[m] = b[m], delete b[m];
        }), delete b.keys, /* @__PURE__ */ T.createElement(p, b, s.map(function(m, y) {
          var v = m.status, x = je(m, xf), C = v === ia || v === oa;
          return /* @__PURE__ */ T.createElement(t, Ye({}, g, {
            key: x.key,
            visible: C,
            eventProps: x,
            onVisibleChanged: function(S) {
              if (f == null || f(S, {
                key: x.key
              }), !S) {
                var $ = l.removeKey(x.key);
                $ === 0 && h && h();
              }
            }
          }), function(E, S) {
            return d(F(F({}, E), {}, {
              index: y
            }), S);
          });
        }));
      }
    }], [{
      key: "getDerivedStateFromProps",
      value: function(l, s) {
        var c = l.keys, u = s.keyEntities, d = sa(c), f = yf(u, d);
        return {
          keyEntities: f.filter(function(h) {
            var b = u.find(function(p) {
              var g = p.key;
              return h.key === g;
            });
            return !(b && b.status === kn && h.status === la);
          })
        };
      }
    }]), i;
  }(T.Component);
  return w(r, "defaultProps", {
    component: "div"
  }), r;
}
Cf(Ll);
function wf(e) {
  const {
    children: t
  } = e, [, r] = Ht(), {
    motion: n
  } = r, a = T.useRef(!1);
  return a.current = a.current || n === !1, a.current ? /* @__PURE__ */ T.createElement(nf, {
    motion: n
  }, t) : t;
}
const zl = /* @__PURE__ */ T.memo((e) => {
  let {
    dropdownMatchSelectWidth: t
  } = e;
  return nn("ConfigProvider").deprecated(t === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth"), null;
});
process.env.NODE_ENV !== "production" && (zl.displayName = "PropWarning");
const Tf = process.env.NODE_ENV !== "production" ? zl : () => null;
var Pf = function(e, t) {
  var r = {};
  for (var n in e)
    Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
      t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
  return r;
};
let ca = !1;
process.env.NODE_ENV;
const Ff = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "pagination", "form", "select", "button"], $f = "ant";
let Wl;
function Of() {
  return Wl || $f;
}
function Rf(e) {
  return Object.keys(e).some((t) => t.endsWith("Color"));
}
const _f = (e) => {
  let {
    prefixCls: t,
    iconPrefixCls: r,
    theme: n
  } = e;
  t !== void 0 && (Wl = t), n && Rf(n) && (process.env.NODE_ENV !== "production" && an(!1, "ConfigProvider", "`config` of css variable theme is not work in v5. Please use new `theme` config instead."), Fd(Of(), n));
}, kf = (e) => {
  const {
    children: t,
    csp: r,
    autoInsertSpaceInButton: n,
    alert: a,
    anchor: i,
    form: o,
    locale: l,
    componentSize: s,
    direction: c,
    space: u,
    virtual: d,
    dropdownMatchSelectWidth: f,
    popupMatchSelectWidth: h,
    popupOverflow: b,
    legacyLocale: p,
    parentContext: g,
    iconPrefixCls: m,
    theme: y,
    componentDisabled: v,
    segmented: x,
    statistic: C,
    spin: E,
    calendar: S,
    carousel: $,
    cascader: k,
    collapse: _,
    typography: L,
    checkbox: A,
    descriptions: M,
    divider: I,
    drawer: H,
    skeleton: O,
    steps: P,
    image: R,
    layout: D,
    list: N,
    mentions: j,
    modal: V,
    progress: W,
    result: K,
    slider: G,
    breadcrumb: ee,
    menu: le,
    pagination: Pe,
    input: Ie,
    empty: Fe,
    badge: se,
    radio: Se,
    rate: ut,
    switch: B,
    transfer: xe,
    avatar: Qe,
    message: Je,
    tag: vt,
    table: X,
    card: z,
    tabs: ae,
    timeline: ue,
    timePicker: Ee,
    upload: Ut,
    notification: hs,
    tree: bs,
    colorPicker: ys,
    datePicker: Ss,
    rangePicker: xs,
    flex: Es,
    wave: Cs,
    dropdown: ws,
    warning: Ts
  } = e, Ps = T.useCallback((ge, he) => {
    const {
      prefixCls: et
    } = e;
    if (he)
      return he;
    const tt = et || g.getPrefixCls("");
    return ge ? `${tt}-${ge}` : tt;
  }, [g.getPrefixCls, e.prefixCls]), qt = m || g.iconPrefixCls || vl, Gt = r || g.csp;
  Fl(qt, Gt);
  const Er = Jd(y, g.theme);
  process.env.NODE_ENV !== "production" && (ca = ca || !!Er);
  const pn = {
    csp: Gt,
    autoInsertSpaceInButton: n,
    alert: a,
    anchor: i,
    locale: l || p,
    direction: c,
    space: u,
    virtual: d,
    popupMatchSelectWidth: h ?? f,
    popupOverflow: b,
    getPrefixCls: Ps,
    iconPrefixCls: qt,
    theme: Er,
    segmented: x,
    statistic: C,
    spin: E,
    calendar: S,
    carousel: $,
    cascader: k,
    collapse: _,
    typography: L,
    checkbox: A,
    descriptions: M,
    divider: I,
    drawer: H,
    skeleton: O,
    steps: P,
    image: R,
    input: Ie,
    layout: D,
    list: N,
    mentions: j,
    modal: V,
    progress: W,
    result: K,
    slider: G,
    breadcrumb: ee,
    menu: le,
    pagination: Pe,
    empty: Fe,
    badge: se,
    radio: Se,
    rate: ut,
    switch: B,
    transfer: xe,
    avatar: Qe,
    message: Je,
    tag: vt,
    table: X,
    card: z,
    tabs: ae,
    timeline: ue,
    timePicker: Ee,
    upload: Ut,
    notification: hs,
    tree: bs,
    colorPicker: ys,
    datePicker: Ss,
    rangePicker: xs,
    flex: Es,
    wave: Cs,
    dropdown: ws,
    warning: Ts
  }, Cr = Object.assign({}, g);
  Object.keys(pn).forEach((ge) => {
    pn[ge] !== void 0 && (Cr[ge] = pn[ge]);
  }), Ff.forEach((ge) => {
    const he = e[ge];
    he && (Cr[ge] = he);
  });
  const $t = Lo(() => Cr, Cr, (ge, he) => {
    const et = Object.keys(ge), tt = Object.keys(he);
    return et.length !== tt.length || et.some((wr) => ge[wr] !== he[wr]);
  }), Fs = T.useMemo(() => ({
    prefixCls: qt,
    csp: Gt
  }), [qt, Gt]);
  let ve = /* @__PURE__ */ T.createElement(T.Fragment, null, /* @__PURE__ */ T.createElement(Tf, {
    dropdownMatchSelectWidth: f
  }), t);
  const Xa = T.useMemo(() => {
    var ge, he, et, tt;
    return At(((ge = cn.Form) === null || ge === void 0 ? void 0 : ge.defaultValidateMessages) || {}, ((et = (he = $t.locale) === null || he === void 0 ? void 0 : he.Form) === null || et === void 0 ? void 0 : et.defaultValidateMessages) || {}, ((tt = $t.form) === null || tt === void 0 ? void 0 : tt.validateMessages) || {}, (o == null ? void 0 : o.validateMessages) || {});
  }, [$t, o == null ? void 0 : o.validateMessages]);
  Object.keys(Xa).length > 0 && (ve = /* @__PURE__ */ T.createElement(id.Provider, {
    value: Xa
  }, ve)), l && (ve = /* @__PURE__ */ T.createElement(fd, {
    locale: l,
    _ANT_MARK__: ul
  }, ve)), (qt || Gt) && (ve = /* @__PURE__ */ T.createElement(_a.Provider, {
    value: Fs
  }, ve)), s && (ve = /* @__PURE__ */ T.createElement(Od, {
    size: s
  }, ve)), ve = /* @__PURE__ */ T.createElement(wf, null, ve);
  const $s = T.useMemo(() => {
    const ge = Er || {}, {
      algorithm: he,
      token: et,
      components: tt,
      cssVar: wr
    } = ge, Os = Pf(ge, ["algorithm", "token", "components", "cssVar"]), Za = he && (!Array.isArray(he) || he.length > 0) ? qr(he) : gl, mn = {};
    Object.entries(tt || {}).forEach((Rs) => {
      let [_s, ks] = Rs;
      const at = Object.assign({}, ks);
      "algorithm" in at && (at.algorithm === !0 ? at.theme = Za : (Array.isArray(at.algorithm) || typeof at.algorithm == "function") && (at.theme = qr(at.algorithm)), delete at.algorithm), mn[_s] = at;
    });
    const Qa = Object.assign(Object.assign({}, cr), et);
    return Object.assign(Object.assign({}, Os), {
      theme: Za,
      token: Qa,
      components: mn,
      override: Object.assign({
        override: Qa
      }, mn),
      cssVar: wr
    });
  }, [Er]);
  return y && (ve = /* @__PURE__ */ T.createElement(ml.Provider, {
    value: $s
  }, ve)), $t.warning && (ve = /* @__PURE__ */ T.createElement(jo.Provider, {
    value: $t.warning
  }, ve)), v !== void 0 && (ve = /* @__PURE__ */ T.createElement($d, {
    disabled: v
  }, ve)), /* @__PURE__ */ T.createElement(vr.Provider, {
    value: $t
  }, ve);
}, Wt = (e) => {
  const t = T.useContext(vr), r = T.useContext(cl);
  return /* @__PURE__ */ T.createElement(kf, Object.assign({
    parentContext: t,
    legacyLocale: r
  }, e));
};
Wt.ConfigContext = vr;
Wt.SizeContext = un;
Wt.config = _f;
Wt.useConfig = Rd;
Object.defineProperty(Wt, "SizeContext", {
  get: () => (process.env.NODE_ENV !== "production" && an(!1, "ConfigProvider", "ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."), un)
});
process.env.NODE_ENV !== "production" && (Wt.displayName = "ConfigProvider");
const Mf = (e) => {
  const t = q.useContext(un);
  return q.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
};
function Ke() {
  Ke = function() {
    return t;
  };
  var e, t = {}, r = Object.prototype, n = r.hasOwnProperty, a = Object.defineProperty || function(O, P, R) {
    O[P] = R.value;
  }, i = typeof Symbol == "function" ? Symbol : {}, o = i.iterator || "@@iterator", l = i.asyncIterator || "@@asyncIterator", s = i.toStringTag || "@@toStringTag";
  function c(O, P, R) {
    return Object.defineProperty(O, P, {
      value: R,
      enumerable: !0,
      configurable: !0,
      writable: !0
    }), O[P];
  }
  try {
    c({}, "");
  } catch {
    c = function(R, D, N) {
      return R[D] = N;
    };
  }
  function u(O, P, R, D) {
    var N = P && P.prototype instanceof m ? P : m, j = Object.create(N.prototype), V = new I(D || []);
    return a(j, "_invoke", {
      value: _(O, R, V)
    }), j;
  }
  function d(O, P, R) {
    try {
      return {
        type: "normal",
        arg: O.call(P, R)
      };
    } catch (D) {
      return {
        type: "throw",
        arg: D
      };
    }
  }
  t.wrap = u;
  var f = "suspendedStart", h = "suspendedYield", b = "executing", p = "completed", g = {};
  function m() {
  }
  function y() {
  }
  function v() {
  }
  var x = {};
  c(x, o, function() {
    return this;
  });
  var C = Object.getPrototypeOf, E = C && C(C(H([])));
  E && E !== r && n.call(E, o) && (x = E);
  var S = v.prototype = m.prototype = Object.create(x);
  function $(O) {
    ["next", "throw", "return"].forEach(function(P) {
      c(O, P, function(R) {
        return this._invoke(P, R);
      });
    });
  }
  function k(O, P) {
    function R(N, j, V, W) {
      var K = d(O[N], O, j);
      if (K.type !== "throw") {
        var G = K.arg, ee = G.value;
        return ee && J(ee) == "object" && n.call(ee, "__await") ? P.resolve(ee.__await).then(function(le) {
          R("next", le, V, W);
        }, function(le) {
          R("throw", le, V, W);
        }) : P.resolve(ee).then(function(le) {
          G.value = le, V(G);
        }, function(le) {
          return R("throw", le, V, W);
        });
      }
      W(K.arg);
    }
    var D;
    a(this, "_invoke", {
      value: function(j, V) {
        function W() {
          return new P(function(K, G) {
            R(j, V, K, G);
          });
        }
        return D = D ? D.then(W, W) : W();
      }
    });
  }
  function _(O, P, R) {
    var D = f;
    return function(N, j) {
      if (D === b)
        throw new Error("Generator is already running");
      if (D === p) {
        if (N === "throw")
          throw j;
        return {
          value: e,
          done: !0
        };
      }
      for (R.method = N, R.arg = j; ; ) {
        var V = R.delegate;
        if (V) {
          var W = L(V, R);
          if (W) {
            if (W === g)
              continue;
            return W;
          }
        }
        if (R.method === "next")
          R.sent = R._sent = R.arg;
        else if (R.method === "throw") {
          if (D === f)
            throw D = p, R.arg;
          R.dispatchException(R.arg);
        } else
          R.method === "return" && R.abrupt("return", R.arg);
        D = b;
        var K = d(O, P, R);
        if (K.type === "normal") {
          if (D = R.done ? p : h, K.arg === g)
            continue;
          return {
            value: K.arg,
            done: R.done
          };
        }
        K.type === "throw" && (D = p, R.method = "throw", R.arg = K.arg);
      }
    };
  }
  function L(O, P) {
    var R = P.method, D = O.iterator[R];
    if (D === e)
      return P.delegate = null, R === "throw" && O.iterator.return && (P.method = "return", P.arg = e, L(O, P), P.method === "throw") || R !== "return" && (P.method = "throw", P.arg = new TypeError("The iterator does not provide a '" + R + "' method")), g;
    var N = d(D, O.iterator, P.arg);
    if (N.type === "throw")
      return P.method = "throw", P.arg = N.arg, P.delegate = null, g;
    var j = N.arg;
    return j ? j.done ? (P[O.resultName] = j.value, P.next = O.nextLoc, P.method !== "return" && (P.method = "next", P.arg = e), P.delegate = null, g) : j : (P.method = "throw", P.arg = new TypeError("iterator result is not an object"), P.delegate = null, g);
  }
  function A(O) {
    var P = {
      tryLoc: O[0]
    };
    1 in O && (P.catchLoc = O[1]), 2 in O && (P.finallyLoc = O[2], P.afterLoc = O[3]), this.tryEntries.push(P);
  }
  function M(O) {
    var P = O.completion || {};
    P.type = "normal", delete P.arg, O.completion = P;
  }
  function I(O) {
    this.tryEntries = [{
      tryLoc: "root"
    }], O.forEach(A, this), this.reset(!0);
  }
  function H(O) {
    if (O || O === "") {
      var P = O[o];
      if (P)
        return P.call(O);
      if (typeof O.next == "function")
        return O;
      if (!isNaN(O.length)) {
        var R = -1, D = function N() {
          for (; ++R < O.length; )
            if (n.call(O, R))
              return N.value = O[R], N.done = !1, N;
          return N.value = e, N.done = !0, N;
        };
        return D.next = D;
      }
    }
    throw new TypeError(J(O) + " is not iterable");
  }
  return y.prototype = v, a(S, "constructor", {
    value: v,
    configurable: !0
  }), a(v, "constructor", {
    value: y,
    configurable: !0
  }), y.displayName = c(v, s, "GeneratorFunction"), t.isGeneratorFunction = function(O) {
    var P = typeof O == "function" && O.constructor;
    return !!P && (P === y || (P.displayName || P.name) === "GeneratorFunction");
  }, t.mark = function(O) {
    return Object.setPrototypeOf ? Object.setPrototypeOf(O, v) : (O.__proto__ = v, c(O, s, "GeneratorFunction")), O.prototype = Object.create(S), O;
  }, t.awrap = function(O) {
    return {
      __await: O
    };
  }, $(k.prototype), c(k.prototype, l, function() {
    return this;
  }), t.AsyncIterator = k, t.async = function(O, P, R, D, N) {
    N === void 0 && (N = Promise);
    var j = new k(u(O, P, R, D), N);
    return t.isGeneratorFunction(P) ? j : j.next().then(function(V) {
      return V.done ? V.value : j.next();
    });
  }, $(S), c(S, s, "Generator"), c(S, o, function() {
    return this;
  }), c(S, "toString", function() {
    return "[object Generator]";
  }), t.keys = function(O) {
    var P = Object(O), R = [];
    for (var D in P)
      R.push(D);
    return R.reverse(), function N() {
      for (; R.length; ) {
        var j = R.pop();
        if (j in P)
          return N.value = j, N.done = !1, N;
      }
      return N.done = !0, N;
    };
  }, t.values = H, I.prototype = {
    constructor: I,
    reset: function(P) {
      if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null, this.method = "next", this.arg = e, this.tryEntries.forEach(M), !P)
        for (var R in this)
          R.charAt(0) === "t" && n.call(this, R) && !isNaN(+R.slice(1)) && (this[R] = e);
    },
    stop: function() {
      this.done = !0;
      var P = this.tryEntries[0].completion;
      if (P.type === "throw")
        throw P.arg;
      return this.rval;
    },
    dispatchException: function(P) {
      if (this.done)
        throw P;
      var R = this;
      function D(G, ee) {
        return V.type = "throw", V.arg = P, R.next = G, ee && (R.method = "next", R.arg = e), !!ee;
      }
      for (var N = this.tryEntries.length - 1; N >= 0; --N) {
        var j = this.tryEntries[N], V = j.completion;
        if (j.tryLoc === "root")
          return D("end");
        if (j.tryLoc <= this.prev) {
          var W = n.call(j, "catchLoc"), K = n.call(j, "finallyLoc");
          if (W && K) {
            if (this.prev < j.catchLoc)
              return D(j.catchLoc, !0);
            if (this.prev < j.finallyLoc)
              return D(j.finallyLoc);
          } else if (W) {
            if (this.prev < j.catchLoc)
              return D(j.catchLoc, !0);
          } else {
            if (!K)
              throw new Error("try statement without catch or finally");
            if (this.prev < j.finallyLoc)
              return D(j.finallyLoc);
          }
        }
      }
    },
    abrupt: function(P, R) {
      for (var D = this.tryEntries.length - 1; D >= 0; --D) {
        var N = this.tryEntries[D];
        if (N.tryLoc <= this.prev && n.call(N, "finallyLoc") && this.prev < N.finallyLoc) {
          var j = N;
          break;
        }
      }
      j && (P === "break" || P === "continue") && j.tryLoc <= R && R <= j.finallyLoc && (j = null);
      var V = j ? j.completion : {};
      return V.type = P, V.arg = R, j ? (this.method = "next", this.next = j.finallyLoc, g) : this.complete(V);
    },
    complete: function(P, R) {
      if (P.type === "throw")
        throw P.arg;
      return P.type === "break" || P.type === "continue" ? this.next = P.arg : P.type === "return" ? (this.rval = this.arg = P.arg, this.method = "return", this.next = "end") : P.type === "normal" && R && (this.next = R), g;
    },
    finish: function(P) {
      for (var R = this.tryEntries.length - 1; R >= 0; --R) {
        var D = this.tryEntries[R];
        if (D.finallyLoc === P)
          return this.complete(D.completion, D.afterLoc), M(D), g;
      }
    },
    catch: function(P) {
      for (var R = this.tryEntries.length - 1; R >= 0; --R) {
        var D = this.tryEntries[R];
        if (D.tryLoc === P) {
          var N = D.completion;
          if (N.type === "throw") {
            var j = N.arg;
            M(D);
          }
          return j;
        }
      }
      throw new Error("illegal catch attempt");
    },
    delegateYield: function(P, R, D) {
      return this.delegate = {
        iterator: H(P),
        resultName: R,
        nextLoc: D
      }, this.method === "next" && (this.arg = e), g;
    }
  }, t;
}
function Ni(e, t, r, n, a, i, o) {
  try {
    var l = e[i](o), s = l.value;
  } catch (c) {
    r(c);
    return;
  }
  l.done ? t(s) : Promise.resolve(s).then(n, a);
}
function yr(e) {
  return function() {
    var t = this, r = arguments;
    return new Promise(function(n, a) {
      var i = e.apply(t, r);
      function o(s) {
        Ni(i, n, a, o, l, "next", s);
      }
      function l(s) {
        Ni(i, n, a, o, l, "throw", s);
      }
      o(void 0);
    });
  };
}
function ua(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [];
  return q.Children.forEach(e, function(n) {
    n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(ua(n)) : Io.isFragment(n) && n.props ? r = r.concat(ua(n.props.children, t)) : r.push(n));
  }), r;
}
var St = "RC_FORM_INTERNAL_HOOKS", ie = function() {
  ce(!1, "Can not find FormContext. Please make sure you wrap Field under Form.");
}, Bt = /* @__PURE__ */ T.createContext({
  getFieldValue: ie,
  getFieldsValue: ie,
  getFieldError: ie,
  getFieldWarning: ie,
  getFieldsError: ie,
  isFieldsTouched: ie,
  isFieldTouched: ie,
  isFieldValidating: ie,
  isFieldsValidating: ie,
  resetFields: ie,
  setFields: ie,
  setFieldValue: ie,
  setFieldsValue: ie,
  validateFields: ie,
  submit: ie,
  getInternalHooks: function() {
    return ie(), {
      dispatch: ie,
      initEntityValue: ie,
      registerField: ie,
      useSubscribe: ie,
      setInitialValues: ie,
      destroyForm: ie,
      setCallbacks: ie,
      registerWatch: ie,
      getFields: ie,
      setValidateMessages: ie,
      setPreserve: ie,
      getInitialValue: ie
    };
  }
}), Xr = /* @__PURE__ */ T.createContext(null);
function da(e) {
  return e == null ? [] : Array.isArray(e) ? e : [e];
}
function Af(e) {
  return e && !!e._init;
}
function xt() {
  return xt = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, xt.apply(this, arguments);
}
function If(e, t) {
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ur(e, t);
}
function fa(e) {
  return fa = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
    return r.__proto__ || Object.getPrototypeOf(r);
  }, fa(e);
}
function ur(e, t) {
  return ur = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, a) {
    return n.__proto__ = a, n;
  }, ur(e, t);
}
function Lf() {
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
    return !1;
  if (typeof Proxy == "function")
    return !0;
  try {
    return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    })), !0;
  } catch {
    return !1;
  }
}
function zr(e, t, r) {
  return Lf() ? zr = Reflect.construct.bind() : zr = function(a, i, o) {
    var l = [null];
    l.push.apply(l, i);
    var s = Function.bind.apply(a, l), c = new s();
    return o && ur(c, o.prototype), c;
  }, zr.apply(null, arguments);
}
function Df(e) {
  return Function.toString.call(e).indexOf("[native code]") !== -1;
}
function ga(e) {
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
  return ga = function(n) {
    if (n === null || !Df(n))
      return n;
    if (typeof n != "function")
      throw new TypeError("Super expression must either be null or a function");
    if (typeof t < "u") {
      if (t.has(n))
        return t.get(n);
      t.set(n, a);
    }
    function a() {
      return zr(n, arguments, fa(this).constructor);
    }
    return a.prototype = Object.create(n.prototype, {
      constructor: {
        value: a,
        enumerable: !1,
        writable: !0,
        configurable: !0
      }
    }), ur(a, n);
  }, ga(e);
}
var Nf = /%[sdj%]/g, Ul = function() {
};
typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (Ul = function(t, r) {
  typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && r.every(function(n) {
    return typeof n == "string";
  }) && console.warn(t, r);
});
function pa(e) {
  if (!e || !e.length)
    return null;
  var t = {};
  return e.forEach(function(r) {
    var n = r.field;
    t[n] = t[n] || [], t[n].push(r);
  }), t;
}
function Ae(e) {
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
    r[n - 1] = arguments[n];
  var a = 0, i = r.length;
  if (typeof e == "function")
    return e.apply(null, r);
  if (typeof e == "string") {
    var o = e.replace(Nf, function(l) {
      if (l === "%%")
        return "%";
      if (a >= i)
        return l;
      switch (l) {
        case "%s":
          return String(r[a++]);
        case "%d":
          return Number(r[a++]);
        case "%j":
          try {
            return JSON.stringify(r[a++]);
          } catch {
            return "[Circular]";
          }
          break;
        default:
          return l;
      }
    });
    return o;
  }
  return e;
}
function jf(e) {
  return e === "string" || e === "url" || e === "hex" || e === "email" || e === "date" || e === "pattern";
}
function me(e, t) {
  return !!(e == null || t === "array" && Array.isArray(e) && !e.length || jf(t) && typeof e == "string" && !e);
}
function Vf(e, t, r) {
  var n = [], a = 0, i = e.length;
  function o(l) {
    n.push.apply(n, l || []), a++, a === i && r(n);
  }
  e.forEach(function(l) {
    t(l, o);
  });
}
function ji(e, t, r) {
  var n = 0, a = e.length;
  function i(o) {
    if (o && o.length) {
      r(o);
      return;
    }
    var l = n;
    n = n + 1, l < a ? t(e[l], i) : r([]);
  }
  i([]);
}
function Hf(e) {
  var t = [];
  return Object.keys(e).forEach(function(r) {
    t.push.apply(t, e[r] || []);
  }), t;
}
var Vi = /* @__PURE__ */ function(e) {
  If(t, e);
  function t(r, n) {
    var a;
    return a = e.call(this, "Async Validation Error") || this, a.errors = r, a.fields = n, a;
  }
  return t;
}(/* @__PURE__ */ ga(Error));
function Bf(e, t, r, n, a) {
  if (t.first) {
    var i = new Promise(function(f, h) {
      var b = function(m) {
        return n(m), m.length ? h(new Vi(m, pa(m))) : f(a);
      }, p = Hf(e);
      ji(p, r, b);
    });
    return i.catch(function(f) {
      return f;
    }), i;
  }
  var o = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), s = l.length, c = 0, u = [], d = new Promise(function(f, h) {
    var b = function(g) {
      if (u.push.apply(u, g), c++, c === s)
        return n(u), u.length ? h(new Vi(u, pa(u))) : f(a);
    };
    l.length || (n(u), f(a)), l.forEach(function(p) {
      var g = e[p];
      o.indexOf(p) !== -1 ? ji(g, r, b) : Vf(g, r, b);
    });
  });
  return d.catch(function(f) {
    return f;
  }), d;
}
function zf(e) {
  return !!(e && e.message !== void 0);
}
function Wf(e, t) {
  for (var r = e, n = 0; n < t.length; n++) {
    if (r == null)
      return r;
    r = r[t[n]];
  }
  return r;
}
function Hi(e, t) {
  return function(r) {
    var n;
    return e.fullFields ? n = Wf(t, e.fullFields) : n = t[r.field || e.fullField], zf(r) ? (r.field = r.field || e.fullField, r.fieldValue = n, r) : {
      message: typeof r == "function" ? r() : r,
      fieldValue: n,
      field: r.field || e.fullField
    };
  };
}
function Bi(e, t) {
  if (t) {
    for (var r in t)
      if (t.hasOwnProperty(r)) {
        var n = t[r];
        typeof n == "object" && typeof e[r] == "object" ? e[r] = xt({}, e[r], n) : e[r] = n;
      }
  }
  return e;
}
var ql = function(t, r, n, a, i, o) {
  t.required && (!n.hasOwnProperty(t.field) || me(r, o || t.type)) && a.push(Ae(i.messages.required, t.fullField));
}, Uf = function(t, r, n, a, i) {
  (/^\s+$/.test(r) || r === "") && a.push(Ae(i.messages.whitespace, t.fullField));
}, Ir, qf = function() {
  if (Ir)
    return Ir;
  var e = "[a-fA-F\\d:]", t = function(x) {
    return x && x.includeBoundaries ? "(?:(?<=\\s|^)(?=" + e + ")|(?<=" + e + ")(?=\\s|$))" : "";
  }, r = "(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}", n = "[a-fA-F\\d]{1,4}", a = (`
(?:
(?:` + n + ":){7}(?:" + n + `|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8
(?:` + n + ":){6}(?:" + r + "|:" + n + `|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4
(?:` + n + ":){5}(?::" + r + "|(?::" + n + `){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4
(?:` + n + ":){4}(?:(?::" + n + "){0,1}:" + r + "|(?::" + n + `){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4
(?:` + n + ":){3}(?:(?::" + n + "){0,2}:" + r + "|(?::" + n + `){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4
(?:` + n + ":){2}(?:(?::" + n + "){0,3}:" + r + "|(?::" + n + `){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4
(?:` + n + ":){1}(?:(?::" + n + "){0,4}:" + r + "|(?::" + n + `){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4
(?::(?:(?::` + n + "){0,5}:" + r + "|(?::" + n + `){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1
`).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), i = new RegExp("(?:^" + r + "$)|(?:^" + a + "$)"), o = new RegExp("^" + r + "$"), l = new RegExp("^" + a + "$"), s = function(x) {
    return x && x.exact ? i : new RegExp("(?:" + t(x) + r + t(x) + ")|(?:" + t(x) + a + t(x) + ")", "g");
  };
  s.v4 = function(v) {
    return v && v.exact ? o : new RegExp("" + t(v) + r + t(v), "g");
  }, s.v6 = function(v) {
    return v && v.exact ? l : new RegExp("" + t(v) + a + t(v), "g");
  };
  var c = "(?:(?:[a-z]+:)?//)", u = "(?:\\S+(?::\\S*)?@)?", d = s.v4().source, f = s.v6().source, h = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", b = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", p = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", g = "(?::\\d{2,5})?", m = '(?:[/?#][^\\s"]*)?', y = "(?:" + c + "|www\\.)" + u + "(?:localhost|" + d + "|" + f + "|" + h + b + p + ")" + g + m;
  return Ir = new RegExp("(?:^" + y + "$)", "i"), Ir;
}, zi = {
  // http://emailregex.com/
  email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
  // url: new RegExp(
  //   '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$',
  //   'i',
  // ),
  hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
}, tr = {
  integer: function(t) {
    return tr.number(t) && parseInt(t, 10) === t;
  },
  float: function(t) {
    return tr.number(t) && !tr.integer(t);
  },
  array: function(t) {
    return Array.isArray(t);
  },
  regexp: function(t) {
    if (t instanceof RegExp)
      return !0;
    try {
      return !!new RegExp(t);
    } catch {
      return !1;
    }
  },
  date: function(t) {
    return typeof t.getTime == "function" && typeof t.getMonth == "function" && typeof t.getYear == "function" && !isNaN(t.getTime());
  },
  number: function(t) {
    return isNaN(t) ? !1 : typeof t == "number";
  },
  object: function(t) {
    return typeof t == "object" && !tr.array(t);
  },
  method: function(t) {
    return typeof t == "function";
  },
  email: function(t) {
    return typeof t == "string" && t.length <= 320 && !!t.match(zi.email);
  },
  url: function(t) {
    return typeof t == "string" && t.length <= 2048 && !!t.match(qf());
  },
  hex: function(t) {
    return typeof t == "string" && !!t.match(zi.hex);
  }
}, Gf = function(t, r, n, a, i) {
  if (t.required && r === void 0) {
    ql(t, r, n, a, i);
    return;
  }
  var o = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
  o.indexOf(l) > -1 ? tr[l](r) || a.push(Ae(i.messages.types[l], t.fullField, t.type)) : l && typeof r !== t.type && a.push(Ae(i.messages.types[l], t.fullField, t.type));
}, Yf = function(t, r, n, a, i) {
  var o = typeof t.len == "number", l = typeof t.min == "number", s = typeof t.max == "number", c = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, u = r, d = null, f = typeof r == "number", h = typeof r == "string", b = Array.isArray(r);
  if (f ? d = "number" : h ? d = "string" : b && (d = "array"), !d)
    return !1;
  b && (u = r.length), h && (u = r.replace(c, "_").length), o ? u !== t.len && a.push(Ae(i.messages[d].len, t.fullField, t.len)) : l && !s && u < t.min ? a.push(Ae(i.messages[d].min, t.fullField, t.min)) : s && !l && u > t.max ? a.push(Ae(i.messages[d].max, t.fullField, t.max)) : l && s && (u < t.min || u > t.max) && a.push(Ae(i.messages[d].range, t.fullField, t.min, t.max));
}, _t = "enum", Kf = function(t, r, n, a, i) {
  t[_t] = Array.isArray(t[_t]) ? t[_t] : [], t[_t].indexOf(r) === -1 && a.push(Ae(i.messages[_t], t.fullField, t[_t].join(", ")));
}, Xf = function(t, r, n, a, i) {
  if (t.pattern) {
    if (t.pattern instanceof RegExp)
      t.pattern.lastIndex = 0, t.pattern.test(r) || a.push(Ae(i.messages.pattern.mismatch, t.fullField, r, t.pattern));
    else if (typeof t.pattern == "string") {
      var o = new RegExp(t.pattern);
      o.test(r) || a.push(Ae(i.messages.pattern.mismatch, t.fullField, r, t.pattern));
    }
  }
}, Z = {
  required: ql,
  whitespace: Uf,
  type: Gf,
  range: Yf,
  enum: Kf,
  pattern: Xf
}, Zf = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r, "string") && !t.required)
      return n();
    Z.required(t, r, a, o, i, "string"), me(r, "string") || (Z.type(t, r, a, o, i), Z.range(t, r, a, o, i), Z.pattern(t, r, a, o, i), t.whitespace === !0 && Z.whitespace(t, r, a, o, i));
  }
  n(o);
}, Qf = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && Z.type(t, r, a, o, i);
  }
  n(o);
}, Jf = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (r === "" && (r = void 0), me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && (Z.type(t, r, a, o, i), Z.range(t, r, a, o, i));
  }
  n(o);
}, eg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && Z.type(t, r, a, o, i);
  }
  n(o);
}, tg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), me(r) || Z.type(t, r, a, o, i);
  }
  n(o);
}, rg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && (Z.type(t, r, a, o, i), Z.range(t, r, a, o, i));
  }
  n(o);
}, ng = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && (Z.type(t, r, a, o, i), Z.range(t, r, a, o, i));
  }
  n(o);
}, ag = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (r == null && !t.required)
      return n();
    Z.required(t, r, a, o, i, "array"), r != null && (Z.type(t, r, a, o, i), Z.range(t, r, a, o, i));
  }
  n(o);
}, ig = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && Z.type(t, r, a, o, i);
  }
  n(o);
}, og = "enum", lg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i), r !== void 0 && Z[og](t, r, a, o, i);
  }
  n(o);
}, sg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r, "string") && !t.required)
      return n();
    Z.required(t, r, a, o, i), me(r, "string") || Z.pattern(t, r, a, o, i);
  }
  n(o);
}, cg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r, "date") && !t.required)
      return n();
    if (Z.required(t, r, a, o, i), !me(r, "date")) {
      var s;
      r instanceof Date ? s = r : s = new Date(r), Z.type(t, s, a, o, i), s && Z.range(t, s.getTime(), a, o, i);
    }
  }
  n(o);
}, ug = function(t, r, n, a, i) {
  var o = [], l = Array.isArray(r) ? "array" : typeof r;
  Z.required(t, r, a, o, i, l), n(o);
}, Mn = function(t, r, n, a, i) {
  var o = t.type, l = [], s = t.required || !t.required && a.hasOwnProperty(t.field);
  if (s) {
    if (me(r, o) && !t.required)
      return n();
    Z.required(t, r, a, l, i, o), me(r, o) || Z.type(t, r, a, l, i);
  }
  n(l);
}, dg = function(t, r, n, a, i) {
  var o = [], l = t.required || !t.required && a.hasOwnProperty(t.field);
  if (l) {
    if (me(r) && !t.required)
      return n();
    Z.required(t, r, a, o, i);
  }
  n(o);
}, ir = {
  string: Zf,
  method: Qf,
  number: Jf,
  boolean: eg,
  regexp: tg,
  integer: rg,
  float: ng,
  array: ag,
  object: ig,
  enum: lg,
  pattern: sg,
  date: cg,
  url: Mn,
  hex: Mn,
  email: Mn,
  required: ug,
  any: dg
};
function ma() {
  return {
    default: "Validation error on field %s",
    required: "%s is required",
    enum: "%s must be one of %s",
    whitespace: "%s cannot be empty",
    date: {
      format: "%s date %s is invalid for format %s",
      parse: "%s date could not be parsed, %s is invalid ",
      invalid: "%s date %s is invalid"
    },
    types: {
      string: "%s is not a %s",
      method: "%s is not a %s (function)",
      array: "%s is not an %s",
      object: "%s is not an %s",
      number: "%s is not a %s",
      date: "%s is not a %s",
      boolean: "%s is not a %s",
      integer: "%s is not an %s",
      float: "%s is not a %s",
      regexp: "%s is not a valid %s",
      email: "%s is not a valid %s",
      url: "%s is not a valid %s",
      hex: "%s is not a valid %s"
    },
    string: {
      len: "%s must be exactly %s characters",
      min: "%s must be at least %s characters",
      max: "%s cannot be longer than %s characters",
      range: "%s must be between %s and %s characters"
    },
    number: {
      len: "%s must equal %s",
      min: "%s cannot be less than %s",
      max: "%s cannot be greater than %s",
      range: "%s must be between %s and %s"
    },
    array: {
      len: "%s must be exactly %s in length",
      min: "%s cannot be less than %s in length",
      max: "%s cannot be greater than %s in length",
      range: "%s must be between %s and %s in length"
    },
    pattern: {
      mismatch: "%s value %s does not match pattern %s"
    },
    clone: function() {
      var t = JSON.parse(JSON.stringify(this));
      return t.clone = this.clone, t;
    }
  };
}
var va = ma(), Sr = /* @__PURE__ */ function() {
  function e(r) {
    this.rules = null, this._messages = va, this.define(r);
  }
  var t = e.prototype;
  return t.define = function(n) {
    var a = this;
    if (!n)
      throw new Error("Cannot configure a schema with no rules");
    if (typeof n != "object" || Array.isArray(n))
      throw new Error("Rules must be an object");
    this.rules = {}, Object.keys(n).forEach(function(i) {
      var o = n[i];
      a.rules[i] = Array.isArray(o) ? o : [o];
    });
  }, t.messages = function(n) {
    return n && (this._messages = Bi(ma(), n)), this._messages;
  }, t.validate = function(n, a, i) {
    var o = this;
    a === void 0 && (a = {}), i === void 0 && (i = function() {
    });
    var l = n, s = a, c = i;
    if (typeof s == "function" && (c = s, s = {}), !this.rules || Object.keys(this.rules).length === 0)
      return c && c(null, l), Promise.resolve(l);
    function u(p) {
      var g = [], m = {};
      function y(x) {
        if (Array.isArray(x)) {
          var C;
          g = (C = g).concat.apply(C, x);
        } else
          g.push(x);
      }
      for (var v = 0; v < p.length; v++)
        y(p[v]);
      g.length ? (m = pa(g), c(g, m)) : c(null, l);
    }
    if (s.messages) {
      var d = this.messages();
      d === va && (d = ma()), Bi(d, s.messages), s.messages = d;
    } else
      s.messages = this.messages();
    var f = {}, h = s.keys || Object.keys(this.rules);
    h.forEach(function(p) {
      var g = o.rules[p], m = l[p];
      g.forEach(function(y) {
        var v = y;
        typeof v.transform == "function" && (l === n && (l = xt({}, l)), m = l[p] = v.transform(m)), typeof v == "function" ? v = {
          validator: v
        } : v = xt({}, v), v.validator = o.getValidationMethod(v), v.validator && (v.field = p, v.fullField = v.fullField || p, v.type = o.getType(v), f[p] = f[p] || [], f[p].push({
          rule: v,
          value: m,
          source: l,
          field: p
        }));
      });
    });
    var b = {};
    return Bf(f, s, function(p, g) {
      var m = p.rule, y = (m.type === "object" || m.type === "array") && (typeof m.fields == "object" || typeof m.defaultField == "object");
      y = y && (m.required || !m.required && p.value), m.field = p.field;
      function v(E, S) {
        return xt({}, S, {
          fullField: m.fullField + "." + E,
          fullFields: m.fullFields ? [].concat(m.fullFields, [E]) : [E]
        });
      }
      function x(E) {
        E === void 0 && (E = []);
        var S = Array.isArray(E) ? E : [E];
        !s.suppressWarning && S.length && e.warning("async-validator:", S), S.length && m.message !== void 0 && (S = [].concat(m.message));
        var $ = S.map(Hi(m, l));
        if (s.first && $.length)
          return b[m.field] = 1, g($);
        if (!y)
          g($);
        else {
          if (m.required && !p.value)
            return m.message !== void 0 ? $ = [].concat(m.message).map(Hi(m, l)) : s.error && ($ = [s.error(m, Ae(s.messages.required, m.field))]), g($);
          var k = {};
          m.defaultField && Object.keys(p.value).map(function(A) {
            k[A] = m.defaultField;
          }), k = xt({}, k, p.rule.fields);
          var _ = {};
          Object.keys(k).forEach(function(A) {
            var M = k[A], I = Array.isArray(M) ? M : [M];
            _[A] = I.map(v.bind(null, A));
          });
          var L = new e(_);
          L.messages(s.messages), p.rule.options && (p.rule.options.messages = s.messages, p.rule.options.error = s.error), L.validate(p.value, p.rule.options || s, function(A) {
            var M = [];
            $ && $.length && M.push.apply(M, $), A && A.length && M.push.apply(M, A), g(M.length ? M : null);
          });
        }
      }
      var C;
      if (m.asyncValidator)
        C = m.asyncValidator(m, p.value, x, p.source, s);
      else if (m.validator) {
        try {
          C = m.validator(m, p.value, x, p.source, s);
        } catch (E) {
          console.error == null || console.error(E), s.suppressValidatorError || setTimeout(function() {
            throw E;
          }, 0), x(E.message);
        }
        C === !0 ? x() : C === !1 ? x(typeof m.message == "function" ? m.message(m.fullField || m.field) : m.message || (m.fullField || m.field) + " fails") : C instanceof Array ? x(C) : C instanceof Error && x(C.message);
      }
      C && C.then && C.then(function() {
        return x();
      }, function(E) {
        return x(E);
      });
    }, function(p) {
      u(p);
    }, l);
  }, t.getType = function(n) {
    if (n.type === void 0 && n.pattern instanceof RegExp && (n.type = "pattern"), typeof n.validator != "function" && n.type && !ir.hasOwnProperty(n.type))
      throw new Error(Ae("Unknown rule type %s", n.type));
    return n.type || "string";
  }, t.getValidationMethod = function(n) {
    if (typeof n.validator == "function")
      return n.validator;
    var a = Object.keys(n), i = a.indexOf("message");
    return i !== -1 && a.splice(i, 1), a.length === 1 && a[0] === "required" ? ir.required : ir[this.getType(n)] || void 0;
  }, e;
}();
Sr.register = function(t, r) {
  if (typeof r != "function")
    throw new Error("Cannot register a validator by type, validator is not a function");
  ir[t] = r;
};
Sr.warning = Ul;
Sr.messages = va;
Sr.validators = ir;
var Oe = "'${name}' is not a valid ${type}", Gl = {
  default: "Validation error on field '${name}'",
  required: "'${name}' is required",
  enum: "'${name}' must be one of [${enum}]",
  whitespace: "'${name}' cannot be empty",
  date: {
    format: "'${name}' is invalid for format date",
    parse: "'${name}' could not be parsed as date",
    invalid: "'${name}' is invalid date"
  },
  types: {
    string: Oe,
    method: Oe,
    array: Oe,
    object: Oe,
    number: Oe,
    date: Oe,
    boolean: Oe,
    integer: Oe,
    float: Oe,
    regexp: Oe,
    email: Oe,
    url: Oe,
    hex: Oe
  },
  string: {
    len: "'${name}' must be exactly ${len} characters",
    min: "'${name}' must be at least ${min} characters",
    max: "'${name}' cannot be longer than ${max} characters",
    range: "'${name}' must be between ${min} and ${max} characters"
  },
  number: {
    len: "'${name}' must equal ${len}",
    min: "'${name}' cannot be less than ${min}",
    max: "'${name}' cannot be greater than ${max}",
    range: "'${name}' must be between ${min} and ${max}"
  },
  array: {
    len: "'${name}' must be exactly ${len} in length",
    min: "'${name}' cannot be less than ${min} in length",
    max: "'${name}' cannot be greater than ${max} in length",
    range: "'${name}' must be between ${min} and ${max} in length"
  },
  pattern: {
    mismatch: "'${name}' does not match pattern ${pattern}"
  }
}, Wi = Sr;
function fg(e, t) {
  return e.replace(/\$\{\w+\}/g, function(r) {
    var n = r.slice(2, -1);
    return t[n];
  });
}
var Ui = "CODE_LOGIC_ERROR";
function ha(e, t, r, n, a) {
  return ba.apply(this, arguments);
}
function ba() {
  return ba = yr(/* @__PURE__ */ Ke().mark(function e(t, r, n, a, i) {
    var o, l, s, c, u, d, f, h, b;
    return Ke().wrap(function(g) {
      for (; ; )
        switch (g.prev = g.next) {
          case 0:
            return o = F({}, n), delete o.ruleIndex, Wi.warning = function() {
            }, o.validator && (l = o.validator, o.validator = function() {
              try {
                return l.apply(void 0, arguments);
              } catch (m) {
                return console.error(m), Promise.reject(Ui);
              }
            }), s = null, o && o.type === "array" && o.defaultField && (s = o.defaultField, delete o.defaultField), c = new Wi(w({}, t, [o])), u = At(Gl, a.validateMessages), c.messages(u), d = [], g.prev = 10, g.next = 13, Promise.resolve(c.validate(w({}, t, r), F({}, a)));
          case 13:
            g.next = 18;
            break;
          case 15:
            g.prev = 15, g.t0 = g.catch(10), g.t0.errors && (d = g.t0.errors.map(function(m, y) {
              var v = m.message, x = v === Ui ? u.default : v;
              return /* @__PURE__ */ T.isValidElement(x) ? (
                // Wrap ReactNode with `key`
                /* @__PURE__ */ T.cloneElement(x, {
                  key: "error_".concat(y)
                })
              ) : x;
            }));
          case 18:
            if (!(!d.length && s)) {
              g.next = 23;
              break;
            }
            return g.next = 21, Promise.all(r.map(function(m, y) {
              return ha("".concat(t, ".").concat(y), m, s, a, i);
            }));
          case 21:
            return f = g.sent, g.abrupt("return", f.reduce(function(m, y) {
              return [].concat(Y(m), Y(y));
            }, []));
          case 23:
            return h = F(F({}, n), {}, {
              name: t,
              enum: (n.enum || []).join(", ")
            }, i), b = d.map(function(m) {
              return typeof m == "string" ? fg(m, h) : m;
            }), g.abrupt("return", b);
          case 26:
          case "end":
            return g.stop();
        }
    }, e, null, [[10, 15]]);
  })), ba.apply(this, arguments);
}
function gg(e, t, r, n, a, i) {
  var o = e.join("."), l = r.map(function(u, d) {
    var f = u.validator, h = F(F({}, u), {}, {
      ruleIndex: d
    });
    return f && (h.validator = function(b, p, g) {
      var m = !1, y = function() {
        for (var C = arguments.length, E = new Array(C), S = 0; S < C; S++)
          E[S] = arguments[S];
        Promise.resolve().then(function() {
          ce(!m, "Your validator function has already return a promise. `callback` will be ignored."), m || g.apply(void 0, E);
        });
      }, v = f(b, p, y);
      m = v && typeof v.then == "function" && typeof v.catch == "function", ce(m, "`callback` is deprecated. Please return a promise instead."), m && v.then(function() {
        g();
      }).catch(function(x) {
        g(x || " ");
      });
    }), h;
  }).sort(function(u, d) {
    var f = u.warningOnly, h = u.ruleIndex, b = d.warningOnly, p = d.ruleIndex;
    return !!f == !!b ? h - p : f ? 1 : -1;
  }), s;
  if (a === !0)
    s = new Promise(/* @__PURE__ */ function() {
      var u = yr(/* @__PURE__ */ Ke().mark(function d(f, h) {
        var b, p, g;
        return Ke().wrap(function(y) {
          for (; ; )
            switch (y.prev = y.next) {
              case 0:
                b = 0;
              case 1:
                if (!(b < l.length)) {
                  y.next = 12;
                  break;
                }
                return p = l[b], y.next = 5, ha(o, t, p, n, i);
              case 5:
                if (g = y.sent, !g.length) {
                  y.next = 9;
                  break;
                }
                return h([{
                  errors: g,
                  rule: p
                }]), y.abrupt("return");
              case 9:
                b += 1, y.next = 1;
                break;
              case 12:
                f([]);
              case 13:
              case "end":
                return y.stop();
            }
        }, d);
      }));
      return function(d, f) {
        return u.apply(this, arguments);
      };
    }());
  else {
    var c = l.map(function(u) {
      return ha(o, t, u, n, i).then(function(d) {
        return {
          errors: d,
          rule: u
        };
      });
    });
    s = (a ? mg(c) : pg(c)).then(function(u) {
      return Promise.reject(u);
    });
  }
  return s.catch(function(u) {
    return u;
  }), s;
}
function pg(e) {
  return ya.apply(this, arguments);
}
function ya() {
  return ya = yr(/* @__PURE__ */ Ke().mark(function e(t) {
    return Ke().wrap(function(n) {
      for (; ; )
        switch (n.prev = n.next) {
          case 0:
            return n.abrupt("return", Promise.all(t).then(function(a) {
              var i, o = (i = []).concat.apply(i, Y(a));
              return o;
            }));
          case 1:
          case "end":
            return n.stop();
        }
    }, e);
  })), ya.apply(this, arguments);
}
function mg(e) {
  return Sa.apply(this, arguments);
}
function Sa() {
  return Sa = yr(/* @__PURE__ */ Ke().mark(function e(t) {
    var r;
    return Ke().wrap(function(a) {
      for (; ; )
        switch (a.prev = a.next) {
          case 0:
            return r = 0, a.abrupt("return", new Promise(function(i) {
              t.forEach(function(o) {
                o.then(function(l) {
                  l.errors.length && i([l]), r += 1, r === t.length && i([]);
                });
              });
            }));
          case 2:
          case "end":
            return a.stop();
        }
    }, e);
  })), Sa.apply(this, arguments);
}
function de(e) {
  return da(e);
}
function qi(e, t) {
  var r = {};
  return t.forEach(function(n) {
    var a = rt(e, n);
    r = ze(r, n, a);
  }), r;
}
function Nt(e, t) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
  return e && e.some(function(n) {
    return Yl(t, n, r);
  });
}
function Yl(e, t) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
  return !e || !t || !r && e.length !== t.length ? !1 : t.every(function(n, a) {
    return e[a] === n;
  });
}
function vg(e, t) {
  if (e === t)
    return !0;
  if (!e && t || e && !t || !e || !t || J(e) !== "object" || J(t) !== "object")
    return !1;
  var r = Object.keys(e), n = Object.keys(t), a = new Set([].concat(r, n));
  return Y(a).every(function(i) {
    var o = e[i], l = t[i];
    return typeof o == "function" && typeof l == "function" ? !0 : o === l;
  });
}
function hg(e) {
  var t = arguments.length <= 1 ? void 0 : arguments[1];
  return t && t.target && J(t.target) === "object" && e in t.target ? t.target[e] : t;
}
function Gi(e, t, r) {
  var n = e.length;
  if (t < 0 || t >= n || r < 0 || r >= n)
    return e;
  var a = e[t], i = t - r;
  return i > 0 ? [].concat(Y(e.slice(0, r)), [a], Y(e.slice(r, t)), Y(e.slice(t + 1, n))) : i < 0 ? [].concat(Y(e.slice(0, t)), Y(e.slice(t + 1, r + 1)), [a], Y(e.slice(r + 1, n))) : e;
}
var bg = ["name"], Le = [];
function Yi(e, t, r, n, a, i) {
  return typeof e == "function" ? e(t, r, "source" in i ? {
    source: i.source
  } : {}) : n !== a;
}
var Ba = /* @__PURE__ */ function(e) {
  hr(r, e);
  var t = br(r);
  function r(n) {
    var a;
    if (Xe(this, r), a = t.call(this, n), w(Q(a), "state", {
      resetCount: 0
    }), w(Q(a), "cancelRegisterFunc", null), w(Q(a), "mounted", !1), w(Q(a), "touched", !1), w(Q(a), "dirty", !1), w(Q(a), "validatePromise", void 0), w(Q(a), "prevValidating", void 0), w(Q(a), "errors", Le), w(Q(a), "warnings", Le), w(Q(a), "cancelRegister", function() {
      var s = a.props, c = s.preserve, u = s.isListField, d = s.name;
      a.cancelRegisterFunc && a.cancelRegisterFunc(u, c, de(d)), a.cancelRegisterFunc = null;
    }), w(Q(a), "getNamePath", function() {
      var s = a.props, c = s.name, u = s.fieldContext, d = u.prefixName, f = d === void 0 ? [] : d;
      return c !== void 0 ? [].concat(Y(f), Y(c)) : [];
    }), w(Q(a), "getRules", function() {
      var s = a.props, c = s.rules, u = c === void 0 ? [] : c, d = s.fieldContext;
      return u.map(function(f) {
        return typeof f == "function" ? f(d) : f;
      });
    }), w(Q(a), "refresh", function() {
      a.mounted && a.setState(function(s) {
        var c = s.resetCount;
        return {
          resetCount: c + 1
        };
      });
    }), w(Q(a), "metaCache", null), w(Q(a), "triggerMetaEvent", function(s) {
      var c = a.props.onMetaChange;
      if (c) {
        var u = F(F({}, a.getMeta()), {}, {
          destroy: s
        });
        Vo(a.metaCache, u) || c(u), a.metaCache = u;
      } else
        a.metaCache = null;
    }), w(Q(a), "onStoreChange", function(s, c, u) {
      var d = a.props, f = d.shouldUpdate, h = d.dependencies, b = h === void 0 ? [] : h, p = d.onReset, g = u.store, m = a.getNamePath(), y = a.getValue(s), v = a.getValue(g), x = c && Nt(c, m);
      switch (u.type === "valueUpdate" && u.source === "external" && y !== v && (a.touched = !0, a.dirty = !0, a.validatePromise = null, a.errors = Le, a.warnings = Le, a.triggerMetaEvent()), u.type) {
        case "reset":
          if (!c || x) {
            a.touched = !1, a.dirty = !1, a.validatePromise = void 0, a.errors = Le, a.warnings = Le, a.triggerMetaEvent(), p == null || p(), a.refresh();
            return;
          }
          break;
        case "remove": {
          if (f) {
            a.reRender();
            return;
          }
          break;
        }
        case "setField": {
          var C = u.data;
          if (x) {
            "touched" in C && (a.touched = C.touched), "validating" in C && !("originRCField" in C) && (a.validatePromise = C.validating ? Promise.resolve([]) : null), "errors" in C && (a.errors = C.errors || Le), "warnings" in C && (a.warnings = C.warnings || Le), a.dirty = !0, a.triggerMetaEvent(), a.reRender();
            return;
          } else if ("value" in C && Nt(c, m, !0)) {
            a.reRender();
            return;
          }
          if (f && !m.length && Yi(f, s, g, y, v, u)) {
            a.reRender();
            return;
          }
          break;
        }
        case "dependenciesUpdate": {
          var E = b.map(de);
          if (E.some(function(S) {
            return Nt(u.relatedFields, S);
          })) {
            a.reRender();
            return;
          }
          break;
        }
        default:
          if (x || (!b.length || m.length || f) && Yi(f, s, g, y, v, u)) {
            a.reRender();
            return;
          }
          break;
      }
      f === !0 && a.reRender();
    }), w(Q(a), "validateRules", function(s) {
      var c = a.getNamePath(), u = a.getValue(), d = s || {}, f = d.triggerName, h = d.validateOnly, b = h === void 0 ? !1 : h, p = Promise.resolve().then(/* @__PURE__ */ yr(/* @__PURE__ */ Ke().mark(function g() {
        var m, y, v, x, C, E, S;
        return Ke().wrap(function(k) {
          for (; ; )
            switch (k.prev = k.next) {
              case 0:
                if (a.mounted) {
                  k.next = 2;
                  break;
                }
                return k.abrupt("return", []);
              case 2:
                if (m = a.props, y = m.validateFirst, v = y === void 0 ? !1 : y, x = m.messageVariables, C = m.validateDebounce, E = a.getRules(), f && (E = E.filter(function(_) {
                  return _;
                }).filter(function(_) {
                  var L = _.validateTrigger;
                  if (!L)
                    return !0;
                  var A = da(L);
                  return A.includes(f);
                })), !(C && f)) {
                  k.next = 10;
                  break;
                }
                return k.next = 8, new Promise(function(_) {
                  setTimeout(_, C);
                });
              case 8:
                if (a.validatePromise === p) {
                  k.next = 10;
                  break;
                }
                return k.abrupt("return", []);
              case 10:
                return S = gg(c, u, E, s, v, x), S.catch(function(_) {
                  return _;
                }).then(function() {
                  var _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Le;
                  if (a.validatePromise === p) {
                    var L;
                    a.validatePromise = null;
                    var A = [], M = [];
                    (L = _.forEach) === null || L === void 0 || L.call(_, function(I) {
                      var H = I.rule.warningOnly, O = I.errors, P = O === void 0 ? Le : O;
                      H ? M.push.apply(M, Y(P)) : A.push.apply(A, Y(P));
                    }), a.errors = A, a.warnings = M, a.triggerMetaEvent(), a.reRender();
                  }
                }), k.abrupt("return", S);
              case 13:
              case "end":
                return k.stop();
            }
        }, g);
      })));
      return b || (a.validatePromise = p, a.dirty = !0, a.errors = Le, a.warnings = Le, a.triggerMetaEvent(), a.reRender()), p;
    }), w(Q(a), "isFieldValidating", function() {
      return !!a.validatePromise;
    }), w(Q(a), "isFieldTouched", function() {
      return a.touched;
    }), w(Q(a), "isFieldDirty", function() {
      if (a.dirty || a.props.initialValue !== void 0)
        return !0;
      var s = a.props.fieldContext, c = s.getInternalHooks(St), u = c.getInitialValue;
      return u(a.getNamePath()) !== void 0;
    }), w(Q(a), "getErrors", function() {
      return a.errors;
    }), w(Q(a), "getWarnings", function() {
      return a.warnings;
    }), w(Q(a), "isListField", function() {
      return a.props.isListField;
    }), w(Q(a), "isList", function() {
      return a.props.isList;
    }), w(Q(a), "isPreserve", function() {
      return a.props.preserve;
    }), w(Q(a), "getMeta", function() {
      a.prevValidating = a.isFieldValidating();
      var s = {
        touched: a.isFieldTouched(),
        validating: a.prevValidating,
        errors: a.errors,
        warnings: a.warnings,
        name: a.getNamePath(),
        validated: a.validatePromise === null
      };
      return s;
    }), w(Q(a), "getOnlyChild", function(s) {
      if (typeof s == "function") {
        var c = a.getMeta();
        return F(F({}, a.getOnlyChild(s(a.getControlled(), c, a.props.fieldContext))), {}, {
          isFunction: !0
        });
      }
      var u = ua(s);
      return u.length !== 1 || !/* @__PURE__ */ T.isValidElement(u[0]) ? {
        child: u,
        isFunction: !1
      } : {
        child: u[0],
        isFunction: !1
      };
    }), w(Q(a), "getValue", function(s) {
      var c = a.props.fieldContext.getFieldsValue, u = a.getNamePath();
      return rt(s || c(!0), u);
    }), w(Q(a), "getControlled", function() {
      var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = a.props, u = c.trigger, d = c.validateTrigger, f = c.getValueFromEvent, h = c.normalize, b = c.valuePropName, p = c.getValueProps, g = c.fieldContext, m = d !== void 0 ? d : g.validateTrigger, y = a.getNamePath(), v = g.getInternalHooks, x = g.getFieldsValue, C = v(St), E = C.dispatch, S = a.getValue(), $ = p || function(A) {
        return w({}, b, A);
      }, k = s[u], _ = F(F({}, s), $(S));
      _[u] = function() {
        a.touched = !0, a.dirty = !0, a.triggerMetaEvent();
        for (var A, M = arguments.length, I = new Array(M), H = 0; H < M; H++)
          I[H] = arguments[H];
        f ? A = f.apply(void 0, I) : A = hg.apply(void 0, [b].concat(I)), h && (A = h(A, S, x(!0))), E({
          type: "updateValue",
          namePath: y,
          value: A
        }), k && k.apply(void 0, I);
      };
      var L = da(m || []);
      return L.forEach(function(A) {
        var M = _[A];
        _[A] = function() {
          M && M.apply(void 0, arguments);
          var I = a.props.rules;
          I && I.length && E({
            type: "validateField",
            namePath: y,
            triggerName: A
          });
        };
      }), _;
    }), n.fieldContext) {
      var i = n.fieldContext.getInternalHooks, o = i(St), l = o.initEntityValue;
      l(Q(a));
    }
    return a;
  }
  return Ze(r, [{
    key: "componentDidMount",
    value: function() {
      var a = this.props, i = a.shouldUpdate, o = a.fieldContext;
      if (this.mounted = !0, o) {
        var l = o.getInternalHooks, s = l(St), c = s.registerField;
        this.cancelRegisterFunc = c(this);
      }
      i === !0 && this.reRender();
    }
  }, {
    key: "componentWillUnmount",
    value: function() {
      this.cancelRegister(), this.triggerMetaEvent(!0), this.mounted = !1;
    }
  }, {
    key: "reRender",
    value: function() {
      this.mounted && this.forceUpdate();
    }
  }, {
    key: "render",
    value: function() {
      var a = this.state.resetCount, i = this.props.children, o = this.getOnlyChild(i), l = o.child, s = o.isFunction, c;
      return s ? c = l : /* @__PURE__ */ T.isValidElement(l) ? c = /* @__PURE__ */ T.cloneElement(l, this.getControlled(l.props)) : (ce(!l, "`children` of Field is not validate ReactElement."), c = l), /* @__PURE__ */ T.createElement(T.Fragment, {
        key: a
      }, c);
    }
  }]), r;
}(T.Component);
w(Ba, "contextType", Bt);
w(Ba, "defaultProps", {
  trigger: "onChange",
  valuePropName: "value"
});
function Kl(e) {
  var t = e.name, r = je(e, bg), n = T.useContext(Bt), a = T.useContext(Xr), i = t !== void 0 ? de(t) : void 0, o = "keep";
  return r.isListField || (o = "_".concat((i || []).join("_"))), process.env.NODE_ENV !== "production" && r.preserve === !1 && r.isListField && i.length <= 1 && ce(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ T.createElement(Ba, Ye({
    key: o,
    name: i,
    isListField: !!a
  }, r, {
    fieldContext: n
  }));
}
function yg(e) {
  var t = e.name, r = e.initialValue, n = e.children, a = e.rules, i = e.validateTrigger, o = e.isListField, l = T.useContext(Bt), s = T.useContext(Xr), c = T.useRef({
    keys: [],
    id: 0
  }), u = c.current, d = T.useMemo(function() {
    var p = de(l.prefixName) || [];
    return [].concat(Y(p), Y(de(t)));
  }, [l.prefixName, t]), f = T.useMemo(function() {
    return F(F({}, l), {}, {
      prefixName: d
    });
  }, [l, d]), h = T.useMemo(function() {
    return {
      getKey: function(g) {
        var m = d.length, y = g[m];
        return [u.keys[y], g.slice(m + 1)];
      }
    };
  }, [d]);
  if (typeof n != "function")
    return ce(!1, "Form.List only accepts function as children."), null;
  var b = function(g, m, y) {
    var v = y.source;
    return v === "internal" ? !1 : g !== m;
  };
  return /* @__PURE__ */ T.createElement(Xr.Provider, {
    value: h
  }, /* @__PURE__ */ T.createElement(Bt.Provider, {
    value: f
  }, /* @__PURE__ */ T.createElement(Kl, {
    name: [],
    shouldUpdate: b,
    rules: a,
    validateTrigger: i,
    initialValue: r,
    isList: !0,
    isListField: o ?? !!s
  }, function(p, g) {
    var m = p.value, y = m === void 0 ? [] : m, v = p.onChange, x = l.getFieldValue, C = function() {
      var k = x(d || []);
      return k || [];
    }, E = {
      add: function(k, _) {
        var L = C();
        _ >= 0 && _ <= L.length ? (u.keys = [].concat(Y(u.keys.slice(0, _)), [u.id], Y(u.keys.slice(_))), v([].concat(Y(L.slice(0, _)), [k], Y(L.slice(_))))) : (process.env.NODE_ENV !== "production" && (_ < 0 || _ > L.length) && ce(!1, "The second parameter of the add function should be a valid positive number."), u.keys = [].concat(Y(u.keys), [u.id]), v([].concat(Y(L), [k]))), u.id += 1;
      },
      remove: function(k) {
        var _ = C(), L = new Set(Array.isArray(k) ? k : [k]);
        L.size <= 0 || (u.keys = u.keys.filter(function(A, M) {
          return !L.has(M);
        }), v(_.filter(function(A, M) {
          return !L.has(M);
        })));
      },
      move: function(k, _) {
        if (k !== _) {
          var L = C();
          k < 0 || k >= L.length || _ < 0 || _ >= L.length || (u.keys = Gi(u.keys, k, _), v(Gi(L, k, _)));
        }
      }
    }, S = y || [];
    return Array.isArray(S) || (S = [], process.env.NODE_ENV !== "production" && ce(!1, "Current value of '".concat(d.join(" > "), "' is not an array type."))), n(S.map(function($, k) {
      var _ = u.keys[k];
      return _ === void 0 && (u.keys[k] = u.id, _ = u.keys[k], u.id += 1), {
        name: k,
        key: _,
        isListField: !0
      };
    }), E, g);
  })));
}
function Sg(e) {
  var t = !1, r = e.length, n = [];
  return e.length ? new Promise(function(a, i) {
    e.forEach(function(o, l) {
      o.catch(function(s) {
        return t = !0, s;
      }).then(function(s) {
        r -= 1, n[l] = s, !(r > 0) && (t && i(n), a(n));
      });
    });
  }) : Promise.resolve([]);
}
var Xl = "__@field_split__";
function An(e) {
  return e.map(function(t) {
    return "".concat(J(t), ":").concat(t);
  }).join(Xl);
}
var kt = /* @__PURE__ */ function() {
  function e() {
    Xe(this, e), w(this, "kvs", /* @__PURE__ */ new Map());
  }
  return Ze(e, [{
    key: "set",
    value: function(r, n) {
      this.kvs.set(An(r), n);
    }
  }, {
    key: "get",
    value: function(r) {
      return this.kvs.get(An(r));
    }
  }, {
    key: "update",
    value: function(r, n) {
      var a = this.get(r), i = n(a);
      i ? this.set(r, i) : this.delete(r);
    }
  }, {
    key: "delete",
    value: function(r) {
      this.kvs.delete(An(r));
    }
    // Since we only use this in test, let simply realize this
  }, {
    key: "map",
    value: function(r) {
      return Y(this.kvs.entries()).map(function(n) {
        var a = U(n, 2), i = a[0], o = a[1], l = i.split(Xl);
        return r({
          key: l.map(function(s) {
            var c = s.match(/^([^:]*):(.*)$/), u = U(c, 3), d = u[1], f = u[2];
            return d === "number" ? Number(f) : f;
          }),
          value: o
        });
      });
    }
  }, {
    key: "toJSON",
    value: function() {
      var r = {};
      return this.map(function(n) {
        var a = n.key, i = n.value;
        return r[a.join(".")] = i, null;
      }), r;
    }
  }]), e;
}(), xg = ["name"], Eg = /* @__PURE__ */ Ze(function e(t) {
  var r = this;
  Xe(this, e), w(this, "formHooked", !1), w(this, "forceRootUpdate", void 0), w(this, "subscribable", !0), w(this, "store", {}), w(this, "fieldEntities", []), w(this, "initialValues", {}), w(this, "callbacks", {}), w(this, "validateMessages", null), w(this, "preserve", null), w(this, "lastValidatePromise", null), w(this, "getForm", function() {
    return {
      getFieldValue: r.getFieldValue,
      getFieldsValue: r.getFieldsValue,
      getFieldError: r.getFieldError,
      getFieldWarning: r.getFieldWarning,
      getFieldsError: r.getFieldsError,
      isFieldsTouched: r.isFieldsTouched,
      isFieldTouched: r.isFieldTouched,
      isFieldValidating: r.isFieldValidating,
      isFieldsValidating: r.isFieldsValidating,
      resetFields: r.resetFields,
      setFields: r.setFields,
      setFieldValue: r.setFieldValue,
      setFieldsValue: r.setFieldsValue,
      validateFields: r.validateFields,
      submit: r.submit,
      _init: !0,
      getInternalHooks: r.getInternalHooks
    };
  }), w(this, "getInternalHooks", function(n) {
    return n === St ? (r.formHooked = !0, {
      dispatch: r.dispatch,
      initEntityValue: r.initEntityValue,
      registerField: r.registerField,
      useSubscribe: r.useSubscribe,
      setInitialValues: r.setInitialValues,
      destroyForm: r.destroyForm,
      setCallbacks: r.setCallbacks,
      setValidateMessages: r.setValidateMessages,
      getFields: r.getFields,
      setPreserve: r.setPreserve,
      getInitialValue: r.getInitialValue,
      registerWatch: r.registerWatch
    }) : (ce(!1, "`getInternalHooks` is internal usage. Should not call directly."), null);
  }), w(this, "useSubscribe", function(n) {
    r.subscribable = n;
  }), w(this, "prevWithoutPreserves", null), w(this, "setInitialValues", function(n, a) {
    if (r.initialValues = n || {}, a) {
      var i, o = At(n, r.store);
      (i = r.prevWithoutPreserves) === null || i === void 0 || i.map(function(l) {
        var s = l.key;
        o = ze(o, s, rt(n, s));
      }), r.prevWithoutPreserves = null, r.updateStore(o);
    }
  }), w(this, "destroyForm", function() {
    var n = new kt();
    r.getFieldEntities(!0).forEach(function(a) {
      r.isMergedPreserve(a.isPreserve()) || n.set(a.getNamePath(), !0);
    }), r.prevWithoutPreserves = n;
  }), w(this, "getInitialValue", function(n) {
    var a = rt(r.initialValues, n);
    return n.length ? At(a) : a;
  }), w(this, "setCallbacks", function(n) {
    r.callbacks = n;
  }), w(this, "setValidateMessages", function(n) {
    r.validateMessages = n;
  }), w(this, "setPreserve", function(n) {
    r.preserve = n;
  }), w(this, "watchList", []), w(this, "registerWatch", function(n) {
    return r.watchList.push(n), function() {
      r.watchList = r.watchList.filter(function(a) {
        return a !== n;
      });
    };
  }), w(this, "notifyWatch", function() {
    var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
    if (r.watchList.length) {
      var a = r.getFieldsValue(), i = r.getFieldsValue(!0);
      r.watchList.forEach(function(o) {
        o(a, i, n);
      });
    }
  }), w(this, "timeoutId", null), w(this, "warningUnhooked", function() {
    process.env.NODE_ENV !== "production" && !r.timeoutId && typeof window < "u" && (r.timeoutId = setTimeout(function() {
      r.timeoutId = null, r.formHooked || ce(!1, "Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?");
    }));
  }), w(this, "updateStore", function(n) {
    r.store = n;
  }), w(this, "getFieldEntities", function() {
    var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
    return n ? r.fieldEntities.filter(function(a) {
      return a.getNamePath().length;
    }) : r.fieldEntities;
  }), w(this, "getFieldsMap", function() {
    var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, a = new kt();
    return r.getFieldEntities(n).forEach(function(i) {
      var o = i.getNamePath();
      a.set(o, i);
    }), a;
  }), w(this, "getFieldEntitiesForNamePathList", function(n) {
    if (!n)
      return r.getFieldEntities(!0);
    var a = r.getFieldsMap(!0);
    return n.map(function(i) {
      var o = de(i);
      return a.get(o) || {
        INVALIDATE_NAME_PATH: de(i)
      };
    });
  }), w(this, "getFieldsValue", function(n, a) {
    r.warningUnhooked();
    var i, o, l;
    if (n === !0 || Array.isArray(n) ? (i = n, o = a) : n && J(n) === "object" && (l = n.strict, o = n.filter), i === !0 && !o)
      return r.store;
    var s = r.getFieldEntitiesForNamePathList(Array.isArray(i) ? i : null), c = [];
    return s.forEach(function(u) {
      var d, f, h = "INVALIDATE_NAME_PATH" in u ? u.INVALIDATE_NAME_PATH : u.getNamePath();
      if (l) {
        var b, p;
        if ((b = (p = u).isList) !== null && b !== void 0 && b.call(p))
          return;
      } else if (!i && (d = (f = u).isListField) !== null && d !== void 0 && d.call(f))
        return;
      if (!o)
        c.push(h);
      else {
        var g = "getMeta" in u ? u.getMeta() : null;
        o(g) && c.push(h);
      }
    }), qi(r.store, c.map(de));
  }), w(this, "getFieldValue", function(n) {
    r.warningUnhooked();
    var a = de(n);
    return rt(r.store, a);
  }), w(this, "getFieldsError", function(n) {
    r.warningUnhooked();
    var a = r.getFieldEntitiesForNamePathList(n);
    return a.map(function(i, o) {
      return i && !("INVALIDATE_NAME_PATH" in i) ? {
        name: i.getNamePath(),
        errors: i.getErrors(),
        warnings: i.getWarnings()
      } : {
        name: de(n[o]),
        errors: [],
        warnings: []
      };
    });
  }), w(this, "getFieldError", function(n) {
    r.warningUnhooked();
    var a = de(n), i = r.getFieldsError([a])[0];
    return i.errors;
  }), w(this, "getFieldWarning", function(n) {
    r.warningUnhooked();
    var a = de(n), i = r.getFieldsError([a])[0];
    return i.warnings;
  }), w(this, "isFieldsTouched", function() {
    r.warningUnhooked();
    for (var n = arguments.length, a = new Array(n), i = 0; i < n; i++)
      a[i] = arguments[i];
    var o = a[0], l = a[1], s, c = !1;
    a.length === 0 ? s = null : a.length === 1 ? Array.isArray(o) ? (s = o.map(de), c = !1) : (s = null, c = o) : (s = o.map(de), c = l);
    var u = r.getFieldEntities(!0), d = function(g) {
      return g.isFieldTouched();
    };
    if (!s)
      return c ? u.every(d) : u.some(d);
    var f = new kt();
    s.forEach(function(p) {
      f.set(p, []);
    }), u.forEach(function(p) {
      var g = p.getNamePath();
      s.forEach(function(m) {
        m.every(function(y, v) {
          return g[v] === y;
        }) && f.update(m, function(y) {
          return [].concat(Y(y), [p]);
        });
      });
    });
    var h = function(g) {
      return g.some(d);
    }, b = f.map(function(p) {
      var g = p.value;
      return g;
    });
    return c ? b.every(h) : b.some(h);
  }), w(this, "isFieldTouched", function(n) {
    return r.warningUnhooked(), r.isFieldsTouched([n]);
  }), w(this, "isFieldsValidating", function(n) {
    r.warningUnhooked();
    var a = r.getFieldEntities();
    if (!n)
      return a.some(function(o) {
        return o.isFieldValidating();
      });
    var i = n.map(de);
    return a.some(function(o) {
      var l = o.getNamePath();
      return Nt(i, l) && o.isFieldValidating();
    });
  }), w(this, "isFieldValidating", function(n) {
    return r.warningUnhooked(), r.isFieldsValidating([n]);
  }), w(this, "resetWithFieldInitialValue", function() {
    var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = new kt(), i = r.getFieldEntities(!0);
    i.forEach(function(s) {
      var c = s.props.initialValue, u = s.getNamePath();
      if (c !== void 0) {
        var d = a.get(u) || /* @__PURE__ */ new Set();
        d.add({
          entity: s,
          value: c
        }), a.set(u, d);
      }
    });
    var o = function(c) {
      c.forEach(function(u) {
        var d = u.props.initialValue;
        if (d !== void 0) {
          var f = u.getNamePath(), h = r.getInitialValue(f);
          if (h !== void 0)
            ce(!1, "Form already set 'initialValues' with path '".concat(f.join("."), "'. Field can not overwrite it."));
          else {
            var b = a.get(f);
            if (b && b.size > 1)
              ce(!1, "Multiple Field with path '".concat(f.join("."), "' set 'initialValue'. Can not decide which one to pick."));
            else if (b) {
              var p = r.getFieldValue(f), g = u.isListField();
              !g && (!n.skipExist || p === void 0) && r.updateStore(ze(r.store, f, Y(b)[0].value));
            }
          }
        }
      });
    }, l;
    n.entities ? l = n.entities : n.namePathList ? (l = [], n.namePathList.forEach(function(s) {
      var c = a.get(s);
      if (c) {
        var u;
        (u = l).push.apply(u, Y(Y(c).map(function(d) {
          return d.entity;
        })));
      }
    })) : l = i, o(l);
  }), w(this, "resetFields", function(n) {
    r.warningUnhooked();
    var a = r.store;
    if (!n) {
      r.updateStore(At(r.initialValues)), r.resetWithFieldInitialValue(), r.notifyObservers(a, null, {
        type: "reset"
      }), r.notifyWatch();
      return;
    }
    var i = n.map(de);
    i.forEach(function(o) {
      var l = r.getInitialValue(o);
      r.updateStore(ze(r.store, o, l));
    }), r.resetWithFieldInitialValue({
      namePathList: i
    }), r.notifyObservers(a, i, {
      type: "reset"
    }), r.notifyWatch(i);
  }), w(this, "setFields", function(n) {
    r.warningUnhooked();
    var a = r.store, i = [];
    n.forEach(function(o) {
      var l = o.name, s = je(o, xg), c = de(l);
      i.push(c), "value" in s && r.updateStore(ze(r.store, c, s.value)), r.notifyObservers(a, [c], {
        type: "setField",
        data: o
      });
    }), r.notifyWatch(i);
  }), w(this, "getFields", function() {
    var n = r.getFieldEntities(!0), a = n.map(function(i) {
      var o = i.getNamePath(), l = i.getMeta(), s = F(F({}, l), {}, {
        name: o,
        value: r.getFieldValue(o)
      });
      return Object.defineProperty(s, "originRCField", {
        value: !0
      }), s;
    });
    return a;
  }), w(this, "initEntityValue", function(n) {
    var a = n.props.initialValue;
    if (a !== void 0) {
      var i = n.getNamePath(), o = rt(r.store, i);
      o === void 0 && r.updateStore(ze(r.store, i, a));
    }
  }), w(this, "isMergedPreserve", function(n) {
    var a = n !== void 0 ? n : r.preserve;
    return a ?? !0;
  }), w(this, "registerField", function(n) {
    r.fieldEntities.push(n);
    var a = n.getNamePath();
    if (r.notifyWatch([a]), n.props.initialValue !== void 0) {
      var i = r.store;
      r.resetWithFieldInitialValue({
        entities: [n],
        skipExist: !0
      }), r.notifyObservers(i, [n.getNamePath()], {
        type: "valueUpdate",
        source: "internal"
      });
    }
    return function(o, l) {
      var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
      if (r.fieldEntities = r.fieldEntities.filter(function(d) {
        return d !== n;
      }), !r.isMergedPreserve(l) && (!o || s.length > 1)) {
        var c = o ? void 0 : r.getInitialValue(a);
        if (a.length && r.getFieldValue(a) !== c && r.fieldEntities.every(function(d) {
          return (
            // Only reset when no namePath exist
            !Yl(d.getNamePath(), a)
          );
        })) {
          var u = r.store;
          r.updateStore(ze(u, a, c, !0)), r.notifyObservers(u, [a], {
            type: "remove"
          }), r.triggerDependenciesUpdate(u, a);
        }
      }
      r.notifyWatch([a]);
    };
  }), w(this, "dispatch", function(n) {
    switch (n.type) {
      case "updateValue": {
        var a = n.namePath, i = n.value;
        r.updateValue(a, i);
        break;
      }
      case "validateField": {
        var o = n.namePath, l = n.triggerName;
        r.validateFields([o], {
          triggerName: l
        });
        break;
      }
    }
  }), w(this, "notifyObservers", function(n, a, i) {
    if (r.subscribable) {
      var o = F(F({}, i), {}, {
        store: r.getFieldsValue(!0)
      });
      r.getFieldEntities().forEach(function(l) {
        var s = l.onStoreChange;
        s(n, a, o);
      });
    } else
      r.forceRootUpdate();
  }), w(this, "triggerDependenciesUpdate", function(n, a) {
    var i = r.getDependencyChildrenFields(a);
    return i.length && r.validateFields(i), r.notifyObservers(n, i, {
      type: "dependenciesUpdate",
      relatedFields: [a].concat(Y(i))
    }), i;
  }), w(this, "updateValue", function(n, a) {
    var i = de(n), o = r.store;
    r.updateStore(ze(r.store, i, a)), r.notifyObservers(o, [i], {
      type: "valueUpdate",
      source: "internal"
    }), r.notifyWatch([i]);
    var l = r.triggerDependenciesUpdate(o, i), s = r.callbacks.onValuesChange;
    if (s) {
      var c = qi(r.store, [i]);
      s(c, r.getFieldsValue());
    }
    r.triggerOnFieldsChange([i].concat(Y(l)));
  }), w(this, "setFieldsValue", function(n) {
    r.warningUnhooked();
    var a = r.store;
    if (n) {
      var i = At(r.store, n);
      r.updateStore(i);
    }
    r.notifyObservers(a, null, {
      type: "valueUpdate",
      source: "external"
    }), r.notifyWatch();
  }), w(this, "setFieldValue", function(n, a) {
    r.setFields([{
      name: n,
      value: a
    }]);
  }), w(this, "getDependencyChildrenFields", function(n) {
    var a = /* @__PURE__ */ new Set(), i = [], o = new kt();
    r.getFieldEntities().forEach(function(s) {
      var c = s.props.dependencies;
      (c || []).forEach(function(u) {
        var d = de(u);
        o.update(d, function() {
          var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : /* @__PURE__ */ new Set();
          return f.add(s), f;
        });
      });
    });
    var l = function s(c) {
      var u = o.get(c) || /* @__PURE__ */ new Set();
      u.forEach(function(d) {
        if (!a.has(d)) {
          a.add(d);
          var f = d.getNamePath();
          d.isFieldDirty() && f.length && (i.push(f), s(f));
        }
      });
    };
    return l(n), i;
  }), w(this, "triggerOnFieldsChange", function(n, a) {
    var i = r.callbacks.onFieldsChange;
    if (i) {
      var o = r.getFields();
      if (a) {
        var l = new kt();
        a.forEach(function(c) {
          var u = c.name, d = c.errors;
          l.set(u, d);
        }), o.forEach(function(c) {
          c.errors = l.get(c.name) || c.errors;
        });
      }
      var s = o.filter(function(c) {
        var u = c.name;
        return Nt(n, u);
      });
      s.length && i(s, o);
    }
  }), w(this, "validateFields", function(n, a) {
    r.warningUnhooked();
    var i, o;
    Array.isArray(n) || typeof n == "string" || typeof a == "string" ? (i = n, o = a) : o = n;
    var l = !!i, s = l ? i.map(de) : [], c = [], u = String(Date.now()), d = /* @__PURE__ */ new Set(), f = o || {}, h = f.recursive, b = f.dirty;
    r.getFieldEntities(!0).forEach(function(y) {
      if (l || s.push(y.getNamePath()), !(!y.props.rules || !y.props.rules.length) && !(b && !y.isFieldDirty())) {
        var v = y.getNamePath();
        if (d.add(v.join(u)), !l || Nt(s, v, h)) {
          var x = y.validateRules(F({
            validateMessages: F(F({}, Gl), r.validateMessages)
          }, o));
          c.push(x.then(function() {
            return {
              name: v,
              errors: [],
              warnings: []
            };
          }).catch(function(C) {
            var E, S = [], $ = [];
            return (E = C.forEach) === null || E === void 0 || E.call(C, function(k) {
              var _ = k.rule.warningOnly, L = k.errors;
              _ ? $.push.apply($, Y(L)) : S.push.apply(S, Y(L));
            }), S.length ? Promise.reject({
              name: v,
              errors: S,
              warnings: $
            }) : {
              name: v,
              errors: S,
              warnings: $
            };
          }));
        }
      }
    });
    var p = Sg(c);
    r.lastValidatePromise = p, p.catch(function(y) {
      return y;
    }).then(function(y) {
      var v = y.map(function(x) {
        var C = x.name;
        return C;
      });
      r.notifyObservers(r.store, v, {
        type: "validateFinish"
      }), r.triggerOnFieldsChange(v, y);
    });
    var g = p.then(function() {
      return r.lastValidatePromise === p ? Promise.resolve(r.getFieldsValue(s)) : Promise.reject([]);
    }).catch(function(y) {
      var v = y.filter(function(x) {
        return x && x.errors.length;
      });
      return Promise.reject({
        values: r.getFieldsValue(s),
        errorFields: v,
        outOfDate: r.lastValidatePromise !== p
      });
    });
    g.catch(function(y) {
      return y;
    });
    var m = s.filter(function(y) {
      return d.has(y.join(u));
    });
    return r.triggerOnFieldsChange(m), g;
  }), w(this, "submit", function() {
    r.warningUnhooked(), r.validateFields().then(function(n) {
      var a = r.callbacks.onFinish;
      if (a)
        try {
          a(n);
        } catch (i) {
          console.error(i);
        }
    }).catch(function(n) {
      var a = r.callbacks.onFinishFailed;
      a && a(n);
    });
  }), this.forceRootUpdate = t;
});
function Zl(e) {
  var t = T.useRef(), r = T.useState({}), n = U(r, 2), a = n[1];
  if (!t.current)
    if (e)
      t.current = e;
    else {
      var i = function() {
        a({});
      }, o = new Eg(i);
      t.current = o.getForm();
    }
  return [t.current];
}
var xa = /* @__PURE__ */ T.createContext({
  triggerFormChange: function() {
  },
  triggerFormFinish: function() {
  },
  registerForm: function() {
  },
  unregisterForm: function() {
  }
}), Cg = function(t) {
  var r = t.validateMessages, n = t.onFormChange, a = t.onFormFinish, i = t.children, o = T.useContext(xa), l = T.useRef({});
  return /* @__PURE__ */ T.createElement(xa.Provider, {
    value: F(F({}, o), {}, {
      validateMessages: F(F({}, o.validateMessages), r),
      // =========================================================
      // =                  Global Form Control                  =
      // =========================================================
      triggerFormChange: function(c, u) {
        n && n(c, {
          changedFields: u,
          forms: l.current
        }), o.triggerFormChange(c, u);
      },
      triggerFormFinish: function(c, u) {
        a && a(c, {
          values: u,
          forms: l.current
        }), o.triggerFormFinish(c, u);
      },
      registerForm: function(c, u) {
        c && (l.current = F(F({}, l.current), {}, w({}, c, u))), o.registerForm(c, u);
      },
      unregisterForm: function(c) {
        var u = F({}, l.current);
        delete u[c], l.current = u, o.unregisterForm(c);
      }
    })
  }, i);
}, wg = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"], Tg = function(t, r) {
  var n = t.name, a = t.initialValues, i = t.fields, o = t.form, l = t.preserve, s = t.children, c = t.component, u = c === void 0 ? "form" : c, d = t.validateMessages, f = t.validateTrigger, h = f === void 0 ? "onChange" : f, b = t.onValuesChange, p = t.onFieldsChange, g = t.onFinish, m = t.onFinishFailed, y = je(t, wg), v = T.useContext(xa), x = Zl(o), C = U(x, 1), E = C[0], S = E.getInternalHooks(St), $ = S.useSubscribe, k = S.setInitialValues, _ = S.setCallbacks, L = S.setValidateMessages, A = S.setPreserve, M = S.destroyForm;
  T.useImperativeHandle(r, function() {
    return E;
  }), T.useEffect(function() {
    return v.registerForm(n, E), function() {
      v.unregisterForm(n);
    };
  }, [v, E, n]), L(F(F({}, v.validateMessages), d)), _({
    onValuesChange: b,
    onFieldsChange: function(V) {
      if (v.triggerFormChange(n, V), p) {
        for (var W = arguments.length, K = new Array(W > 1 ? W - 1 : 0), G = 1; G < W; G++)
          K[G - 1] = arguments[G];
        p.apply(void 0, [V].concat(K));
      }
    },
    onFinish: function(V) {
      v.triggerFormFinish(n, V), g && g(V);
    },
    onFinishFailed: m
  }), A(l);
  var I = T.useRef(null);
  k(a, !I.current), I.current || (I.current = !0), T.useEffect(
    function() {
      return M;
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    []
  );
  var H, O = typeof s == "function";
  if (O) {
    var P = E.getFieldsValue(!0);
    H = s(P, E);
  } else
    H = s;
  $(!O);
  var R = T.useRef();
  T.useEffect(function() {
    vg(R.current || [], i || []) || E.setFields(i || []), R.current = i;
  }, [i, E]);
  var D = T.useMemo(function() {
    return F(F({}, E), {}, {
      validateTrigger: h
    });
  }, [E, h]), N = /* @__PURE__ */ T.createElement(Xr.Provider, {
    value: null
  }, /* @__PURE__ */ T.createElement(Bt.Provider, {
    value: D
  }, H));
  return u === !1 ? N : /* @__PURE__ */ T.createElement(u, Ye({}, y, {
    onSubmit: function(V) {
      V.preventDefault(), V.stopPropagation(), E.submit();
    },
    onReset: function(V) {
      var W;
      V.preventDefault(), E.resetFields(), (W = y.onReset) === null || W === void 0 || W.call(y, V);
    }
  }), N);
};
function Ki(e) {
  try {
    return JSON.stringify(e);
  } catch {
    return Math.random();
  }
}
var Pg = process.env.NODE_ENV !== "production" ? function(e) {
  var t = e.join("__RC_FIELD_FORM_SPLIT__"), r = ye(t);
  ce(r.current === t, "`useWatch` is not support dynamic `namePath`. Please provide static instead.");
} : function() {
};
function Fg() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  var n = t[0], a = t[1], i = a === void 0 ? {} : a, o = Af(i) ? {
    form: i
  } : i, l = o.form, s = Ra(), c = U(s, 2), u = c[0], d = c[1], f = ct(function() {
    return Ki(u);
  }, [u]), h = ye(f);
  h.current = f;
  var b = we(Bt), p = l || b, g = p && p._init;
  process.env.NODE_ENV !== "production" && ce(t.length === 2 ? l ? g : !0 : g, "useWatch requires a form instance since it can not auto detect from context.");
  var m = de(n), y = ye(m);
  return y.current = m, Pg(m), Ne(
    function() {
      if (g) {
        var v = p.getFieldsValue, x = p.getInternalHooks, C = x(St), E = C.registerWatch, S = function(L, A) {
          var M = o.preserve ? A : L;
          return typeof n == "function" ? n(M) : rt(M, y.current);
        }, $ = E(function(_, L) {
          var A = S(_, L), M = Ki(A);
          h.current !== M && (h.current = M, d(A));
        }), k = S(v(), v(!0));
        return u !== k && d(k), $;
      }
    },
    // We do not need re-register since namePath content is the same
    // eslint-disable-next-line react-hooks/exhaustive-deps
    [g]
  ), u;
}
var $g = /* @__PURE__ */ T.forwardRef(Tg), xr = $g;
xr.FormProvider = Cg;
xr.Field = Kl;
xr.List = yg;
xr.useForm = Zl;
xr.useWatch = Fg;
const Zr = /* @__PURE__ */ T.createContext({});
process.env.NODE_ENV !== "production" && (Zr.displayName = "FormItemInputContext");
const Xi = (e) => {
  let {
    children: t,
    status: r,
    override: n
  } = e;
  const a = we(Zr), i = ct(() => {
    const o = Object.assign({}, a);
    return n && delete o.isFormItemInput, r && (delete o.status, delete o.hasFeedback, delete o.feedbackIcon), o;
  }, [r, n, a]);
  return /* @__PURE__ */ T.createElement(Zr.Provider, {
    value: i
  }, t);
}, Ql = /* @__PURE__ */ T.createContext(null), Og = (e, t) => {
  const r = T.useContext(Ql), n = T.useMemo(() => {
    if (!r)
      return "";
    const {
      compactDirection: a,
      isFirstItem: i,
      isLastItem: o
    } = r, l = a === "vertical" ? "-vertical-" : "-";
    return pe(`${e}-compact${l}item`, {
      [`${e}-compact${l}first-item`]: i,
      [`${e}-compact${l}last-item`]: o,
      [`${e}-compact${l}item-rtl`]: t === "rtl"
    });
  }, [e, t, r]);
  return {
    compactSize: r == null ? void 0 : r.compactSize,
    compactDirection: r == null ? void 0 : r.compactDirection,
    compactItemClassnames: n
  };
}, Zi = (e) => {
  let {
    children: t
  } = e;
  return /* @__PURE__ */ T.createElement(Ql.Provider, {
    value: null
  }, t);
};
function Rg(e, t) {
  const r = ye([]), n = () => {
    r.current.push(setTimeout(() => {
      var a, i, o, l;
      !((a = e.current) === null || a === void 0) && a.input && ((i = e.current) === null || i === void 0 ? void 0 : i.input.getAttribute("type")) === "password" && (!((o = e.current) === null || o === void 0) && o.input.hasAttribute("value")) && ((l = e.current) === null || l === void 0 || l.input.removeAttribute("value"));
    }));
  };
  return Ne(() => (t && n(), () => r.current.forEach((a) => {
    a && clearTimeout(a);
  })), []), n;
}
function _g(e, t, r) {
  const {
    focusElCls: n,
    focus: a,
    borderElCls: i
  } = r, o = i ? "> *" : "", l = ["hover", a ? "focus" : null, "active"].filter(Boolean).map((s) => `&:${s} ${o}`).join(",");
  return {
    [`&-item:not(${t}-last-item)`]: {
      marginInlineEnd: e.calc(e.lineWidth).mul(-1).equal()
    },
    "&-item": Object.assign(Object.assign({
      [l]: {
        zIndex: 2
      }
    }, n ? {
      [`&${n}`]: {
        zIndex: 2
      }
    } : {}), {
      [`&[disabled] ${o}`]: {
        zIndex: 0
      }
    })
  };
}
function kg(e, t, r) {
  const {
    borderElCls: n
  } = r, a = n ? `> ${n}` : "";
  return {
    [`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]: {
      borderRadius: 0
    },
    [`&-item:not(${t}-last-item)${t}-first-item`]: {
      [`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]: {
        borderStartEndRadius: 0,
        borderEndEndRadius: 0
      }
    },
    [`&-item:not(${t}-first-item)${t}-last-item`]: {
      [`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]: {
        borderStartStartRadius: 0,
        borderEndStartRadius: 0
      }
    }
  };
}
function Mg(e) {
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
    focus: !0
  };
  const {
    componentCls: r
  } = e, n = `${r}-compact`;
  return {
    [n]: Object.assign(Object.assign({}, _g(e, n, t)), kg(r, n, t))
  };
}
const Ag = (e) => ({
  // Firefox
  "&::-moz-placeholder": {
    opacity: 1
  },
  "&::placeholder": {
    color: e,
    userSelect: "none"
    // https://github.com/ant-design/ant-design/pull/32639
  },
  "&:placeholder-shown": {
    textOverflow: "ellipsis"
  }
}), Jl = (e) => ({
  borderColor: e.hoverBorderColor,
  backgroundColor: e.hoverBg
}), Ea = (e) => ({
  borderColor: e.activeBorderColor,
  boxShadow: e.activeShadow,
  outline: 0,
  backgroundColor: e.activeBg
}), es = (e) => ({
  color: e.colorTextDisabled,
  backgroundColor: e.colorBgContainerDisabled,
  borderColor: e.colorBorder,
  boxShadow: "none",
  cursor: "not-allowed",
  opacity: 1,
  "&:hover:not([disabled])": Object.assign({}, Jl(Ft(e, {
    hoverBorderColor: e.colorBorder,
    hoverBg: e.colorBgContainerDisabled
  })))
}), ts = (e) => {
  const {
    paddingBlockLG: t,
    fontSizeLG: r,
    lineHeightLG: n,
    borderRadiusLG: a,
    paddingInlineLG: i
  } = e;
  return {
    padding: `${Ce(t)} ${Ce(i)}`,
    fontSize: r,
    lineHeight: n,
    borderRadius: a
  };
}, rs = (e) => ({
  padding: `${Ce(e.paddingBlockSM)} ${Ce(e.paddingInlineSM)}`,
  borderRadius: e.borderRadiusSM
}), ns = (e, t) => {
  const {
    componentCls: r,
    colorError: n,
    colorWarning: a,
    errorActiveShadow: i,
    warningActiveShadow: o,
    colorErrorBorderHover: l,
    colorWarningBorderHover: s
  } = e;
  return {
    [`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]: {
      borderColor: n,
      "&:hover": {
        borderColor: l
      },
      "&:focus, &:focus-within": Object.assign({}, Ea(Ft(e, {
        activeBorderColor: n,
        activeShadow: i
      }))),
      [`${r}-prefix, ${r}-suffix`]: {
        color: n
      }
    },
    [`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]: {
      borderColor: a,
      "&:hover": {
        borderColor: s
      },
      "&:focus, &:focus-within": Object.assign({}, Ea(Ft(e, {
        activeBorderColor: a,
        activeShadow: o
      }))),
      [`${r}-prefix, ${r}-suffix`]: {
        color: a
      }
    }
  };
}, as = (e) => Object.assign(Object.assign({
  position: "relative",
  display: "inline-block",
  width: "100%",
  minWidth: 0,
  padding: `${Ce(e.paddingBlock)} ${Ce(e.paddingInline)}`,
  color: e.colorText,
  fontSize: e.fontSize,
  lineHeight: e.lineHeight,
  backgroundColor: e.colorBgContainer,
  backgroundImage: "none",
  borderWidth: e.lineWidth,
  borderStyle: e.lineType,
  borderColor: e.colorBorder,
  borderRadius: e.borderRadius,
  transition: `all ${e.motionDurationMid}`
}, Ag(e.colorTextPlaceholder)), {
  "&:hover": Object.assign({}, Jl(e)),
  "&:focus, &:focus-within": Object.assign({}, Ea(e)),
  "&-disabled, &[disabled]": Object.assign({}, es(e)),
  "&-borderless": {
    "&, &:hover, &:focus, &-focused, &-disabled, &[disabled]": {
      backgroundColor: "transparent",
      border: "none",
      boxShadow: "none"
    }
  },
  // Reset height for `textarea`s
  "textarea&": {
    maxWidth: "100%",
    // prevent textarea resize from coming out of its container
    height: "auto",
    minHeight: e.controlHeight,
    lineHeight: e.lineHeight,
    verticalAlign: "bottom",
    transition: `all ${e.motionDurationSlow}, height 0s`,
    resize: "vertical"
  },
  // Size
  "&-lg": Object.assign({}, ts(e)),
  "&-sm": Object.assign({}, rs(e)),
  // RTL
  "&-rtl": {
    direction: "rtl"
  },
  "&-textarea-rtl": {
    direction: "rtl"
  }
}), Ig = (e) => {
  const {
    componentCls: t,
    antCls: r
  } = e;
  return {
    position: "relative",
    display: "table",
    width: "100%",
    borderCollapse: "separate",
    borderSpacing: 0,
    // Undo padding and float of grid classes
    "&[class*='col-']": {
      paddingInlineEnd: e.paddingXS,
      "&:last-child": {
        paddingInlineEnd: 0
      }
    },
    // Sizing options
    [`&-lg ${t}, &-lg > ${t}-group-addon`]: Object.assign({}, ts(e)),
    [`&-sm ${t}, &-sm > ${t}-group-addon`]: Object.assign({}, rs(e)),
    // Fix https://github.com/ant-design/ant-design/issues/5754
    [`&-lg ${r}-select-single ${r}-select-selector`]: {
      height: e.controlHeightLG
    },
    [`&-sm ${r}-select-single ${r}-select-selector`]: {
      height: e.controlHeightSM
    },
    [`> ${t}`]: {
      display: "table-cell",
      "&:not(:first-child):not(:last-child)": {
        borderRadius: 0
      }
    },
    [`${t}-group`]: {
      "&-addon, &-wrap": {
        display: "table-cell",
        width: 1,
        whiteSpace: "nowrap",
        verticalAlign: "middle",
        "&:not(:first-child):not(:last-child)": {
          borderRadius: 0
        }
      },
      "&-wrap > *": {
        display: "block !important"
      },
      "&-addon": {
        position: "relative",
        padding: `0 ${Ce(e.paddingInline)}`,
        color: e.colorText,
        fontWeight: "normal",
        fontSize: e.fontSize,
        textAlign: "center",
        backgroundColor: e.addonBg,
        border: `${Ce(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,
        borderRadius: e.borderRadius,
        transition: `all ${e.motionDurationSlow}`,
        lineHeight: 1,
        // Reset Select's style in addon
        [`${r}-select`]: {
          margin: `${Ce(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Ce(e.calc(e.paddingInline).mul(-1).equal())}`,
          [`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]: {
            [`${r}-select-selector`]: {
              backgroundColor: "inherit",
              border: `${Ce(e.lineWidth)} ${e.lineType} transparent`,
              boxShadow: "none"
            }
          },
          "&-open, &-focused": {
            [`${r}-select-selector`]: {
              color: e.colorPrimary
            }
          }
        },
        // https://github.com/ant-design/ant-design/issues/31333
        [`${r}-cascader-picker`]: {
          margin: `-9px ${Ce(e.calc(e.paddingInline).mul(-1).equal())}`,
          backgroundColor: "transparent",
          [`${r}-cascader-input`]: {
            textAlign: "start",
            border: 0,
            boxShadow: "none"
          }
        }
      },
      "&-addon:first-child": {
        borderInlineEnd: 0
      },
      "&-addon:last-child": {
        borderInlineStart: 0
      }
    },
    [`${t}`]: {
      width: "100%",
      marginBottom: 0,
      textAlign: "inherit",
      "&:focus": {
        zIndex: 1,
        // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png
        borderInlineEndWidth: 1
      },
      "&:hover": {
        zIndex: 1,
        borderInlineEndWidth: 1,
        [`${t}-search-with-button &`]: {
          zIndex: 0
        }
      }
    },
    // Reset rounded corners
    [`> ${t}:first-child, ${t}-group-addon:first-child`]: {
      borderStartEndRadius: 0,
      borderEndEndRadius: 0,
      // Reset Select's style in addon
      [`${r}-select ${r}-select-selector`]: {
        borderStartEndRadius: 0,
        borderEndEndRadius: 0
      }
    },
    [`> ${t}-affix-wrapper`]: {
      [`&:not(:first-child) ${t}`]: {
        borderStartStartRadius: 0,
        borderEndStartRadius: 0
      },
      [`&:not(:last-child) ${t}`]: {
        borderStartEndRadius: 0,
        borderEndEndRadius: 0
      }
    },
    [`> ${t}:last-child, ${t}-group-addon:last-child`]: {
      borderStartStartRadius: 0,
      borderEndStartRadius: 0,
      // Reset Select's style in addon
      [`${r}-select ${r}-select-selector`]: {
        borderStartStartRadius: 0,
        borderEndStartRadius: 0
      }
    },
    [`${t}-affix-wrapper`]: {
      "&:not(:last-child)": {
        borderStartEndRadius: 0,
        borderEndEndRadius: 0,
        [`${t}-search &`]: {
          borderStartStartRadius: e.borderRadius,
          borderEndStartRadius: e.borderRadius
        }
      },
      [`&:not(:first-child), ${t}-search &:not(:first-child)`]: {
        borderStartStartRadius: 0,
        borderEndStartRadius: 0
      }
    },
    [`&${t}-group-compact`]: Object.assign(Object.assign({
      display: "block"
    }, Id()), {
      [`${t}-group-addon, ${t}-group-wrap, > ${t}`]: {
        "&:not(:first-child):not(:last-child)": {
          borderInlineEndWidth: e.lineWidth,
          "&:hover": {
            zIndex: 1
          },
          "&:focus": {
            zIndex: 1
          }
        }
      },
      "& > *": {
        display: "inline-block",
        float: "none",
        verticalAlign: "top",
        // https://github.com/ant-design/ant-design-pro/issues/139
        borderRadius: 0
      },
      [`
        & > ${t}-affix-wrapper,
        & > ${t}-number-affix-wrapper,
        & > ${r}-picker-range
      `]: {
        display: "inline-flex"
      },
      "& > *:not(:last-child)": {
        marginInlineEnd: e.calc(e.lineWidth).mul(-1).equal(),
        borderInlineEndWidth: e.lineWidth
      },
      // Undo float for .ant-input-group .ant-input
      [`${t}`]: {
        float: "none"
      },
      // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input
      [`& > ${r}-select > ${r}-select-selector,
      & > ${r}-select-auto-complete ${t},
      & > ${r}-cascader-picker ${t},
      & > ${t}-group-wrapper ${t}`]: {
        borderInlineEndWidth: e.lineWidth,
        borderRadius: 0,
        "&:hover": {
          zIndex: 1
        },
        "&:focus": {
          zIndex: 1
        }
      },
      [`& > ${r}-select-focused`]: {
        zIndex: 1
      },
      // update z-index for arrow icon
      [`& > ${r}-select > ${r}-select-arrow`]: {
        zIndex: 1
        // https://github.com/ant-design/ant-design/issues/20371
      },
      [`& > *:first-child,
      & > ${r}-select:first-child > ${r}-select-selector,
      & > ${r}-select-auto-complete:first-child ${t},
      & > ${r}-cascader-picker:first-child ${t}`]: {
        borderStartStartRadius: e.borderRadius,
        borderEndStartRadius: e.borderRadius
      },
      [`& > *:last-child,
      & > ${r}-select:last-child > ${r}-select-selector,
      & > ${r}-cascader-picker:last-child ${t},
      & > ${r}-cascader-picker-focused:last-child ${t}`]: {
        borderInlineEndWidth: e.lineWidth,
        borderStartEndRadius: e.borderRadius,
        borderEndEndRadius: e.borderRadius
      },
      // https://github.com/ant-design/ant-design/issues/12493
      [`& > ${r}-select-auto-complete ${t}`]: {
        verticalAlign: "top"
      },
      [`${t}-group-wrapper + ${t}-group-wrapper`]: {
        marginInlineStart: e.calc(e.lineWidth).mul(-1).equal(),
        [`${t}-affix-wrapper`]: {
          borderRadius: 0
        }
      },
      [`${t}-group-wrapper:not(:last-child)`]: {
        [`&${t}-search > ${t}-group`]: {
          [`& > ${t}-group-addon > ${t}-search-button`]: {
            borderRadius: 0
          },
          [`& > ${t}`]: {
            borderStartStartRadius: e.borderRadius,
            borderStartEndRadius: 0,
            borderEndEndRadius: 0,
            borderEndStartRadius: e.borderRadius
          }
        }
      }
    })
  };
}, Lg = (e) => {
  const {
    componentCls: t,
    controlHeightSM: r,
    lineWidth: n,
    calc: a
  } = e, o = a(r).sub(a(n).mul(2)).sub(16).div(2).equal();
  return {
    [t]: Object.assign(Object.assign(Object.assign(Object.assign({}, El(e)), as(e)), ns(e, t)), {
      '&[type="color"]': {
        height: e.controlHeight,
        [`&${t}-lg`]: {
          height: e.controlHeightLG
        },
        [`&${t}-sm`]: {
          height: r,
          paddingTop: o,
          paddingBottom: o
        }
      },
      '&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration': {
        "-webkit-appearance": "none"
      }
    })
  };
}, Dg = (e) => {
  const {
    componentCls: t
  } = e;
  return {
    // ========================= Input =========================
    [`${t}-clear-icon`]: {
      margin: 0,
      color: e.colorTextQuaternary,
      fontSize: e.fontSizeIcon,
      verticalAlign: -1,
      // https://github.com/ant-design/ant-design/pull/18151
      // https://codesandbox.io/s/wizardly-sun-u10br
      cursor: "pointer",
      transition: `color ${e.motionDurationSlow}`,
      "&:hover": {
        color: e.colorTextTertiary
      },
      "&:active": {
        color: e.colorText
      },
      "&-hidden": {
        visibility: "hidden"
      },
      "&-has-suffix": {
        margin: `0 ${Ce(e.inputAffixPadding)}`
      }
    }
  };
}, Ng = (e) => {
  const {
    componentCls: t,
    inputAffixPadding: r,
    colorTextDescription: n,
    motionDurationSlow: a,
    colorIcon: i,
    colorIconHover: o,
    iconCls: l
  } = e;
  return {
    [`${t}-affix-wrapper`]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, as(e)), {
      display: "inline-flex",
      [`&:not(${t}-affix-wrapper-disabled):hover`]: {
        zIndex: 1,
        [`${t}-search-with-button &`]: {
          zIndex: 0
        }
      },
      "&-focused, &:focus": {
        zIndex: 1
      },
      "&-disabled": {
        [`${t}[disabled]`]: {
          background: "transparent"
        }
      },
      [`> input${t}`]: {
        padding: 0,
        fontSize: "inherit",
        border: "none",
        borderRadius: 0,
        outline: "none",
        "&::-ms-reveal": {
          display: "none"
        },
        "&:focus": {
          boxShadow: "none !important"
        }
      },
      "&::before": {
        display: "inline-block",
        width: 0,
        visibility: "hidden",
        content: '"\\a0"'
      },
      [`${t}`]: {
        "&-prefix, &-suffix": {
          display: "flex",
          flex: "none",
          alignItems: "center",
          "> *:not(:last-child)": {
            marginInlineEnd: e.paddingXS
          }
        },
        "&-show-count-suffix": {
          color: n
        },
        "&-show-count-has-suffix": {
          marginInlineEnd: e.paddingXXS
        },
        "&-prefix": {
          marginInlineEnd: r
        },
        "&-suffix": {
          marginInlineStart: r
        }
      }
    }), Dg(e)), {
      // password
      [`${l}${t}-password-icon`]: {
        color: i,
        cursor: "pointer",
        transition: `all ${a}`,
        "&:hover": {
          color: o
        }
      }
    }), ns(e, `${t}-affix-wrapper`))
  };
}, jg = (e) => {
  const {
    componentCls: t,
    colorError: r,
    colorWarning: n,
    borderRadiusLG: a,
    borderRadiusSM: i
  } = e;
  return {
    [`${t}-group`]: Object.assign(Object.assign(Object.assign({}, El(e)), Ig(e)), {
      "&-rtl": {
        direction: "rtl"
      },
      "&-wrapper": {
        display: "inline-block",
        width: "100%",
        textAlign: "start",
        verticalAlign: "top",
        // https://github.com/ant-design/ant-design/issues/6403
        "&-rtl": {
          direction: "rtl"
        },
        // Size
        "&-lg": {
          [`${t}-group-addon`]: {
            borderRadius: a,
            fontSize: e.fontSizeLG
          }
        },
        "&-sm": {
          [`${t}-group-addon`]: {
            borderRadius: i
          }
        },
        // Status
        "&-status-error": {
          [`${t}-group-addon`]: {
            color: r,
            borderColor: r
          }
        },
        "&-status-warning": {
          [`${t}-group-addon`]: {
            color: n,
            borderColor: n
          }
        },
        "&-disabled": {
          [`${t}-group-addon`]: Object.assign({}, es(e))
        },
        // Fix the issue of using icons in Space Compact mode
        // https://github.com/ant-design/ant-design/issues/42122
        [`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]: {
          [`${t}, ${t}-group-addon`]: {
            borderRadius: 0
          }
        },
        [`&:not(${t}-compact-last-item)${t}-compact-first-item`]: {
          [`${t}, ${t}-group-addon`]: {
            borderStartEndRadius: 0,
            borderEndEndRadius: 0
          }
        },
        [`&:not(${t}-compact-first-item)${t}-compact-last-item`]: {
          [`${t}, ${t}-group-addon`]: {
            borderStartStartRadius: 0,
            borderEndStartRadius: 0
          }
        }
      }
    })
  };
}, Vg = (e) => {
  const {
    componentCls: t,
    antCls: r
  } = e, n = `${t}-search`;
  return {
    [n]: {
      [`${t}`]: {
        "&:hover, &:focus": {
          borderColor: e.colorPrimaryHover,
          [`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]: {
            borderInlineStartColor: e.colorPrimaryHover
          }
        }
      },
      [`${t}-affix-wrapper`]: {
        borderRadius: 0
      },
      // fix slight height diff in Firefox:
      // https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category
      [`${t}-lg`]: {
        lineHeight: e.calc(e.lineHeightLG).sub(2e-4).equal({
          unit: !1
        })
      },
      [`> ${t}-group`]: {
        [`> ${t}-group-addon:last-child`]: {
          insetInlineStart: -1,
          padding: 0,
          border: 0,
          [`${n}-button`]: {
            paddingTop: 0,
            paddingBottom: 0,
            borderStartStartRadius: 0,
            borderStartEndRadius: e.borderRadius,
            borderEndEndRadius: e.borderRadius,
            borderEndStartRadius: 0,
            boxShadow: "none"
          },
          [`${n}-button:not(${r}-btn-primary)`]: {
            color: e.colorTextDescription,
            "&:hover": {
              color: e.colorPrimaryHover
            },
            "&:active": {
              color: e.colorPrimaryActive
            },
            [`&${r}-btn-loading::before`]: {
              insetInlineStart: 0,
              insetInlineEnd: 0,
              insetBlockStart: 0,
              insetBlockEnd: 0
            }
          }
        }
      },
      [`${n}-button`]: {
        height: e.controlHeight,
        "&:hover, &:focus": {
          zIndex: 1
        }
      },
      [`&-large ${n}-button`]: {
        height: e.controlHeightLG
      },
      [`&-small ${n}-button`]: {
        height: e.controlHeightSM
      },
      "&-rtl": {
        direction: "rtl"
      },
      // ===================== Compact Item Customized Styles =====================
      [`&${t}-compact-item`]: {
        [`&:not(${t}-compact-last-item)`]: {
          [`${t}-group-addon`]: {
            [`${t}-search-button`]: {
              marginInlineEnd: e.calc(e.lineWidth).mul(-1).equal(),
              borderRadius: 0
            }
          }
        },
        [`&:not(${t}-compact-first-item)`]: {
          [`${t},${t}-affix-wrapper`]: {
            borderRadius: 0
          }
        },
        [`> ${t}-group-addon ${t}-search-button,
        > ${t},
        ${t}-affix-wrapper`]: {
          "&:hover,&:focus,&:active": {
            zIndex: 2
          }
        },
        [`> ${t}-affix-wrapper-focused`]: {
          zIndex: 2
        }
      }
    }
  };
}, Hg = (e) => {
  const {
    componentCls: t,
    paddingLG: r
  } = e, n = `${t}-textarea`;
  return {
    [n]: {
      position: "relative",
      "&-show-count": {
        // https://github.com/ant-design/ant-design/issues/33049
        [`> ${t}`]: {
          height: "100%"
        },
        [`${t}-data-count`]: {
          position: "absolute",
          bottom: e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),
          insetInlineEnd: 0,
          color: e.colorTextDescription,
          whiteSpace: "nowrap",
          pointerEvents: "none"
        }
      },
      "&-allow-clear": {
        [`> ${t}`]: {
          paddingInlineEnd: r
        }
      },
      [`&-affix-wrapper${n}-has-feedback`]: {
        [`${t}`]: {
          paddingInlineEnd: r
        }
      },
      [`&-affix-wrapper${t}-affix-wrapper`]: {
        padding: 0,
        [`> textarea${t}`]: {
          fontSize: "inherit",
          border: "none",
          outline: "none",
          "&:focus": {
            boxShadow: "none !important"
          }
        },
        [`${t}-suffix`]: {
          margin: 0,
          "> *:not(:last-child)": {
            marginInline: 0
          },
          // Clear Icon
          [`${t}-clear-icon`]: {
            position: "absolute",
            insetInlineEnd: e.paddingXS,
            insetBlockStart: e.paddingXS
          },
          // Feedback Icon
          [`${n}-suffix`]: {
            position: "absolute",
            top: 0,
            insetInlineEnd: e.paddingInline,
            bottom: 0,
            zIndex: 1,
            display: "inline-flex",
            alignItems: "center",
            margin: "auto",
            pointerEvents: "none"
          }
        }
      }
    }
  };
}, Bg = (e) => {
  const {
    componentCls: t
  } = e;
  return {
    [`${t}-out-of-range`]: {
      [`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]: {
        color: e.colorError
      }
    }
  };
};
function zg(e) {
  return Ft(e, {
    inputAffixPadding: e.paddingXXS
  });
}
const Wg = (e) => {
  const {
    controlHeight: t,
    fontSize: r,
    lineHeight: n,
    lineWidth: a,
    controlHeightSM: i,
    controlHeightLG: o,
    fontSizeLG: l,
    lineHeightLG: s,
    paddingSM: c,
    controlPaddingHorizontalSM: u,
    controlPaddingHorizontal: d,
    colorFillAlter: f,
    colorPrimaryHover: h,
    colorPrimary: b,
    controlOutlineWidth: p,
    controlOutline: g,
    colorErrorOutline: m,
    colorWarningOutline: y
  } = e;
  return {
    paddingBlock: Math.max(Math.round((t - r * n) / 2 * 10) / 10 - a, 0),
    paddingBlockSM: Math.max(Math.round((i - r * n) / 2 * 10) / 10 - a, 0),
    paddingBlockLG: Math.ceil((o - l * s) / 2 * 10) / 10 - a,
    paddingInline: c - a,
    paddingInlineSM: u - a,
    paddingInlineLG: d - a,
    addonBg: f,
    activeBorderColor: b,
    hoverBorderColor: h,
    activeShadow: `0 0 0 ${p}px ${g}`,
    errorActiveShadow: `0 0 0 ${p}px ${m}`,
    warningActiveShadow: `0 0 0 ${p}px ${y}`,
    hoverBg: "",
    activeBg: ""
  };
}, Ug = Kd("Input", (e) => {
  const t = Ft(e, zg(e));
  return [
    Lg(t),
    Hg(t),
    Ng(t),
    jg(t),
    Vg(t),
    Bg(t),
    // =====================================================
    // ==             Space Compact                       ==
    // =====================================================
    Mg(t)
  ];
}, Wg);
function qg(e) {
  return !!(e.prefix || e.suffix || e.allowClear);
}
const Gg = (e) => {
  const [, , , , t] = Ht();
  return t ? `${e}-css-var` : "";
};
var Yg = function(e, t) {
  var r = {};
  for (var n in e)
    Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
      t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
  return r;
};
const Kg = /* @__PURE__ */ uo((e, t) => {
  var r;
  const {
    prefixCls: n,
    bordered: a = !0,
    status: i,
    size: o,
    disabled: l,
    onBlur: s,
    onFocus: c,
    suffix: u,
    allowClear: d,
    addonAfter: f,
    addonBefore: h,
    className: b,
    style: p,
    styles: g,
    rootClassName: m,
    onChange: y,
    classNames: v
  } = e, x = Yg(e, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "style", "styles", "rootClassName", "onChange", "classNames"]), {
    getPrefixCls: C,
    direction: E,
    input: S
  } = q.useContext(vr), $ = C("input", n), k = ye(null), _ = Gg($), [L, A, M] = Ug($, _), {
    compactSize: I,
    compactItemClassnames: H
  } = Og($, E), O = Mf((se) => {
    var Se;
    return (Se = o ?? I) !== null && Se !== void 0 ? Se : se;
  }), P = q.useContext(hl), R = l ?? P, {
    status: D,
    hasFeedback: N,
    feedbackIcon: j
  } = we(Zr), V = Xc(D, i), W = qg(e) || !!N, K = ye(W);
  if (process.env.NODE_ENV !== "production") {
    const se = nn("Input");
    Ne(() => {
      var Se;
      W && !K.current && process.env.NODE_ENV !== "production" && se(document.activeElement === ((Se = k.current) === null || Se === void 0 ? void 0 : Se.input), "usage", "When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"), K.current = W;
    }, [W]);
  }
  const G = Rg(k, !0), ee = (se) => {
    G(), s == null || s(se);
  }, le = (se) => {
    G(), c == null || c(se);
  }, Pe = (se) => {
    G(), y == null || y(se);
  }, Ie = (N || u) && /* @__PURE__ */ q.createElement(q.Fragment, null, u, N && j);
  let Fe;
  return typeof d == "object" && (d != null && d.clearIcon) ? Fe = d : d && (Fe = {
    clearIcon: /* @__PURE__ */ q.createElement(Ic, null)
  }), L(/* @__PURE__ */ q.createElement(Uc, Object.assign({
    ref: Yc(t, k),
    prefixCls: $,
    autoComplete: S == null ? void 0 : S.autoComplete
  }, x, {
    disabled: R,
    onBlur: ee,
    onFocus: le,
    style: Object.assign(Object.assign({}, S == null ? void 0 : S.style), p),
    styles: Object.assign(Object.assign({}, S == null ? void 0 : S.styles), g),
    suffix: Ie,
    allowClear: Fe,
    className: pe(b, m, M, _, A, H, S == null ? void 0 : S.className),
    onChange: Pe,
    addonAfter: f && /* @__PURE__ */ q.createElement(Zi, null, /* @__PURE__ */ q.createElement(Xi, {
      override: !0,
      status: !0
    }, f)),
    addonBefore: h && /* @__PURE__ */ q.createElement(Zi, null, /* @__PURE__ */ q.createElement(Xi, {
      override: !0,
      status: !0
    }, h)),
    classNames: Object.assign(Object.assign(Object.assign({}, v), S == null ? void 0 : S.classNames), {
      input: pe({
        [`${$}-sm`]: O === "small",
        [`${$}-lg`]: O === "large",
        [`${$}-rtl`]: E === "rtl",
        [`${$}-borderless`]: !a
      }, !W && wn($, V), v == null ? void 0 : v.input, (r = S == null ? void 0 : S.classNames) === null || r === void 0 ? void 0 : r.input, A)
    }),
    classes: {
      affixWrapper: pe({
        [`${$}-affix-wrapper-sm`]: O === "small",
        [`${$}-affix-wrapper-lg`]: O === "large",
        [`${$}-affix-wrapper-rtl`]: E === "rtl",
        [`${$}-affix-wrapper-borderless`]: !a
      }, wn(`${$}-affix-wrapper`, V, N), A),
      wrapper: pe({
        [`${$}-group-rtl`]: E === "rtl"
      }, A),
      group: pe({
        [`${$}-group-wrapper-sm`]: O === "small",
        [`${$}-group-wrapper-lg`]: O === "large",
        [`${$}-group-wrapper-rtl`]: E === "rtl",
        [`${$}-group-wrapper-disabled`]: R
      }, wn(`${$}-group-wrapper`, V, N), A)
    }
  })));
}), Xg = Kg;
var Ca = function() {
  return ne("div", { children: ne(Xg, { placeholder: "Basic usage" }) });
}, Zg = [
  {
    title: "数据主键",
    dataIndex: "orderId",
    key: "orderId",
    width: 100,
    search: !1
  },
  {
    key: "orderDate",
    title: "orderDate",
    dataIndex: "orderDate",
    width: 200,
    valueType: "dateTime"
  },
  {
    key: "orderStatus",
    title: "orderStatus",
    dataIndex: "orderStatus",
    width: 200,
    valueEnum: {
      all: { text: "全部" },
      open: {
        text: "打开",
        status: "finish"
      },
      close: {
        text: "关闭",
        status: "Default"
      },
      cancel: {
        text: "取消",
        status: "Default"
      }
    }
  }
], za = function() {
  return ne(mr, { children: ne(Hs, { rowKey: "orderId", columns: Zg, url: "/es/query", options: !1 }) });
}, Qg = function() {
  var e = As(), t = Ra(""), r = t[0], n = t[1];
  return ne(mr, { children: ne(Bs, { LayoutProps: {
    title: "中鼎集成",
    token: {
      header: {
        colorBgHeader: "rgba(42,122,251,1)",
        colorHeaderTitle: "#fff"
      },
      sider: {
        colorMenuBackground: "#fff",
        colorMenuItemDivider: "#dfdfdf",
        colorTextMenu: "#595959",
        colorTextMenuSelected: "rgba(42,122,251,1)",
        colorBgMenuItemSelected: "rgba(230,243,254,1)"
      }
    },
    location: { pathname: r },
    menu: {
      collapsedShowTitle: !0
    },
    route: ep(),
    menuItemRender: function(a, i) {
      return ne("div", { onClick: function() {
        console.log(i), console.log(a), n(a.itemPath), e(a.itemPath);
      }, children: i });
    }
  }, ContainerProps: {
    content: ne(Is, {}),
    style: {
      height: "100vh",
      backgroundColor: "#f0f2f5"
    },
    token: {
      paddingInlinePageContainerContent: 5
    }
  } }) });
}, Jg = [
  {
    path: "/",
    element: ne(Qg, {}),
    children: [
      {
        path: "/frame/home",
        name: "",
        element: ne(Ca, {})
      },
      {
        path: "/frame/warehouse/list",
        element: ne(za, {})
      }
    ]
  },
  {
    path: "/home",
    name: "",
    element: ne(Ca, {})
  }
], vv = [
  {
    path: "/frame/home",
    name: "",
    element: ne(Ca, {})
  },
  {
    path: "/frame/warehouse/list",
    element: ne(za, {})
  }
], ep = function() {
  return {
    path: "/",
    name: "中鼎平台",
    routes: [
      {
        path: "/frame/home",
        name: "首页"
      },
      {
        path: "/frame/warehouse",
        name: "仓库管理",
        children: [
          {
            path: "/frame/warehouse/list",
            name: "仓库列表",
            element: ne(za, {})
          }
        ]
      }
    ]
  };
}, tp = function() {
  return ne(Ns, { fallback: ne(zs, { size: "small", tip: "loading" }), children: Ls(Jg) });
}, fn = {}, is = { exports: {} };
(function(e) {
  function t(r) {
    return r && r.__esModule ? r : {
      default: r
    };
  }
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
})(is);
var Wa = is.exports, Xt = {}, Qi;
function rp() {
  if (Qi)
    return Xt;
  Qi = 1, Object.defineProperty(Xt, "__esModule", {
    value: !0
  }), Xt.default = void 0;
  var e = {
    // Options
    items_per_page: "/ page",
    jump_to: "Go to",
    jump_to_confirm: "confirm",
    page: "Page",
    // Pagination
    prev_page: "Previous Page",
    next_page: "Next Page",
    prev_5: "Previous 5 Pages",
    next_5: "Next 5 Pages",
    prev_3: "Previous 3 Pages",
    next_3: "Next 3 Pages",
    page_size: "Page Size"
  };
  return Xt.default = e, Xt;
}
var Zt = {}, Qt = {}, Jt = {}, Ji;
function np() {
  if (Ji)
    return Jt;
  Ji = 1, Object.defineProperty(Jt, "__esModule", {
    value: !0
  }), Jt.default = void 0;
  var e = {
    locale: "en_US",
    today: "Today",
    now: "Now",
    backToToday: "Back to today",
    ok: "OK",
    clear: "Clear",
    month: "Month",
    year: "Year",
    timeSelect: "select time",
    dateSelect: "select date",
    weekSelect: "Choose a week",
    monthSelect: "Choose a month",
    yearSelect: "Choose a year",
    decadeSelect: "Choose a decade",
    yearFormat: "YYYY",
    dateFormat: "M/D/YYYY",
    dayFormat: "D",
    dateTimeFormat: "M/D/YYYY HH:mm:ss",
    monthBeforeYear: !0,
    previousMonth: "Previous month (PageUp)",
    nextMonth: "Next month (PageDown)",
    previousYear: "Last year (Control + left)",
    nextYear: "Next year (Control + right)",
    previousDecade: "Last decade",
    nextDecade: "Next decade",
    previousCentury: "Last century",
    nextCentury: "Next century"
  };
  return Jt.default = e, Jt;
}
var er = {}, eo;
function os() {
  if (eo)
    return er;
  eo = 1, Object.defineProperty(er, "__esModule", {
    value: !0
  }), er.default = void 0;
  const e = {
    placeholder: "Select time",
    rangePlaceholder: ["Start time", "End time"]
  };
  return er.default = e, er;
}
var to;
function ls() {
  if (to)
    return Qt;
  to = 1;
  var e = Wa;
  Object.defineProperty(Qt, "__esModule", {
    value: !0
  }), Qt.default = void 0;
  var t = e(np()), r = e(os());
  const n = {
    lang: Object.assign({
      placeholder: "Select date",
      yearPlaceholder: "Select year",
      quarterPlaceholder: "Select quarter",
      monthPlaceholder: "Select month",
      weekPlaceholder: "Select week",
      rangePlaceholder: ["Start date", "End date"],
      rangeYearPlaceholder: ["Start year", "End year"],
      rangeQuarterPlaceholder: ["Start quarter", "End quarter"],
      rangeMonthPlaceholder: ["Start month", "End month"],
      rangeWeekPlaceholder: ["Start week", "End week"]
    }, t.default),
    timePickerLocale: Object.assign({}, r.default)
  };
  return Qt.default = n, Qt;
}
var ro;
function ap() {
  if (ro)
    return Zt;
  ro = 1;
  var e = Wa;
  Object.defineProperty(Zt, "__esModule", {
    value: !0
  }), Zt.default = void 0;
  var t = e(ls());
  return Zt.default = t.default, Zt;
}
var gn = Wa;
Object.defineProperty(fn, "__esModule", {
  value: !0
});
fn.default = void 0;
var ip = gn(rp()), op = gn(ap()), lp = gn(ls()), sp = gn(os());
const Re = "${label} is not a valid ${type}", cp = {
  locale: "en",
  Pagination: ip.default,
  DatePicker: lp.default,
  TimePicker: sp.default,
  Calendar: op.default,
  global: {
    placeholder: "Please select"
  },
  Table: {
    filterTitle: "Filter menu",
    filterConfirm: "OK",
    filterReset: "Reset",
    filterEmptyText: "No filters",
    filterCheckall: "Select all items",
    filterSearchPlaceholder: "Search in filters",
    emptyText: "No data",
    selectAll: "Select current page",
    selectInvert: "Invert current page",
    selectNone: "Clear all data",
    selectionAll: "Select all data",
    sortTitle: "Sort",
    expand: "Expand row",
    collapse: "Collapse row",
    triggerDesc: "Click to sort descending",
    triggerAsc: "Click to sort ascending",
    cancelSort: "Click to cancel sorting"
  },
  Tour: {
    Next: "Next",
    Previous: "Previous",
    Finish: "Finish"
  },
  Modal: {
    okText: "OK",
    cancelText: "Cancel",
    justOkText: "OK"
  },
  Popconfirm: {
    okText: "OK",
    cancelText: "Cancel"
  },
  Transfer: {
    titles: ["", ""],
    searchPlaceholder: "Search here",
    itemUnit: "item",
    itemsUnit: "items",
    remove: "Remove",
    selectCurrent: "Select current page",
    removeCurrent: "Remove current page",
    selectAll: "Select all data",
    removeAll: "Remove all data",
    selectInvert: "Invert current page"
  },
  Upload: {
    uploading: "Uploading...",
    removeFile: "Remove file",
    uploadError: "Upload error",
    previewFile: "Preview file",
    downloadFile: "Download file"
  },
  Empty: {
    description: "No data"
  },
  Icon: {
    icon: "icon"
  },
  Text: {
    edit: "Edit",
    copy: "Copy",
    copied: "Copied",
    expand: "Expand"
  },
  PageHeader: {
    back: "Back"
  },
  Form: {
    optional: "(optional)",
    defaultValidateMessages: {
      default: "Field validation error for ${label}",
      required: "Please enter ${label}",
      enum: "${label} must be one of [${enum}]",
      whitespace: "${label} cannot be a blank character",
      date: {
        format: "${label} date format is invalid",
        parse: "${label} cannot be converted to a date",
        invalid: "${label} is an invalid date"
      },
      types: {
        string: Re,
        method: Re,
        array: Re,
        object: Re,
        number: Re,
        date: Re,
        boolean: Re,
        integer: Re,
        float: Re,
        regexp: Re,
        email: Re,
        url: Re,
        hex: Re
      },
      string: {
        len: "${label} must be ${len} characters",
        min: "${label} must be at least ${min} characters",
        max: "${label} must be up to ${max} characters",
        range: "${label} must be between ${min}-${max} characters"
      },
      number: {
        len: "${label} must be equal to ${len}",
        min: "${label} must be minimum ${min}",
        max: "${label} must be maximum ${max}",
        range: "${label} must be between ${min}-${max}"
      },
      array: {
        len: "Must be ${len} ${label}",
        min: "At least ${min} ${label}",
        max: "At most ${max} ${label}",
        range: "The amount of ${label} must be between ${min}-${max}"
      },
      pattern: {
        mismatch: "${label} does not match the pattern ${pattern}"
      }
    }
  },
  Image: {
    preview: "Preview"
  },
  QRCode: {
    expired: "QR code expired",
    refresh: "Refresh"
  },
  ColorPicker: {
    presetEmpty: "Empty"
  }
};
fn.default = cp;
var up = fn;
const dp = /* @__PURE__ */ ho(up);
var fp = {
  // Options
  items_per_page: "条/页",
  jump_to: "跳至",
  jump_to_confirm: "确定",
  page: "页",
  // Pagination
  prev_page: "上一页",
  next_page: "下一页",
  prev_5: "向前 5 页",
  next_5: "向后 5 页",
  prev_3: "向前 3 页",
  next_3: "向后 3 页",
  page_size: "页码"
}, gp = {
  locale: "zh_CN",
  today: "今天",
  now: "此刻",
  backToToday: "返回今天",
  ok: "确定",
  timeSelect: "选择时间",
  dateSelect: "选择日期",
  weekSelect: "选择周",
  clear: "清除",
  month: "月",
  year: "年",
  previousMonth: "上个月 (翻页上键)",
  nextMonth: "下个月 (翻页下键)",
  monthSelect: "选择月份",
  yearSelect: "选择年份",
  decadeSelect: "选择年代",
  yearFormat: "YYYY年",
  dayFormat: "D日",
  dateFormat: "YYYY年M月D日",
  dateTimeFormat: "YYYY年M月D日 HH时mm分ss秒",
  previousYear: "上一年 (Control键加左方向键)",
  nextYear: "下一年 (Control键加右方向键)",
  previousDecade: "上一年代",
  nextDecade: "下一年代",
  previousCentury: "上一世纪",
  nextCentury: "下一世纪"
};
const pp = {
  placeholder: "请选择时间",
  rangePlaceholder: ["开始时间", "结束时间"]
}, ss = pp, cs = {
  lang: Object.assign({
    placeholder: "请选择日期",
    yearPlaceholder: "请选择年份",
    quarterPlaceholder: "请选择季度",
    monthPlaceholder: "请选择月份",
    weekPlaceholder: "请选择周",
    rangePlaceholder: ["开始日期", "结束日期"],
    rangeYearPlaceholder: ["开始年份", "结束年份"],
    rangeMonthPlaceholder: ["开始月份", "结束月份"],
    rangeQuarterPlaceholder: ["开始季度", "结束季度"],
    rangeWeekPlaceholder: ["开始周", "结束周"]
  }, gp),
  timePickerLocale: Object.assign({}, ss)
};
cs.lang.ok = "确定";
const no = cs, _e = "${label}不是一个有效的${type}", mp = {
  locale: "zh-cn",
  Pagination: fp,
  DatePicker: no,
  TimePicker: ss,
  Calendar: no,
  // locales for all components
  global: {
    placeholder: "请选择"
  },
  Table: {
    filterTitle: "筛选",
    filterConfirm: "确定",
    filterReset: "重置",
    filterEmptyText: "无筛选项",
    filterCheckall: "全选",
    filterSearchPlaceholder: "在筛选项中搜索",
    selectAll: "全选当页",
    selectInvert: "反选当页",
    selectNone: "清空所有",
    selectionAll: "全选所有",
    sortTitle: "排序",
    expand: "展开行",
    collapse: "关闭行",
    triggerDesc: "点击降序",
    triggerAsc: "点击升序",
    cancelSort: "取消排序"
  },
  Modal: {
    okText: "确定",
    cancelText: "取消",
    justOkText: "知道了"
  },
  Tour: {
    Next: "下一步",
    Previous: "上一步",
    Finish: "结束导览"
  },
  Popconfirm: {
    cancelText: "取消",
    okText: "确定"
  },
  Transfer: {
    titles: ["", ""],
    searchPlaceholder: "请输入搜索内容",
    itemUnit: "项",
    itemsUnit: "项",
    remove: "删除",
    selectCurrent: "全选当页",
    removeCurrent: "删除当页",
    selectAll: "全选所有",
    removeAll: "删除全部",
    selectInvert: "反选当页"
  },
  Upload: {
    uploading: "文件上传中",
    removeFile: "删除文件",
    uploadError: "上传错误",
    previewFile: "预览文件",
    downloadFile: "下载文件"
  },
  Empty: {
    description: "暂无数据"
  },
  Icon: {
    icon: "图标"
  },
  Text: {
    edit: "编辑",
    copy: "复制",
    copied: "复制成功",
    expand: "展开"
  },
  PageHeader: {
    back: "返回"
  },
  Form: {
    optional: "（可选）",
    defaultValidateMessages: {
      default: "字段验证错误${label}",
      required: "请输入${label}",
      enum: "${label}必须是其中一个[${enum}]",
      whitespace: "${label}不能为空字符",
      date: {
        format: "${label}日期格式无效",
        parse: "${label}不能转换为日期",
        invalid: "${label}是一个无效日期"
      },
      types: {
        string: _e,
        method: _e,
        array: _e,
        object: _e,
        number: _e,
        date: _e,
        boolean: _e,
        integer: _e,
        float: _e,
        regexp: _e,
        email: _e,
        url: _e,
        hex: _e
      },
      string: {
        len: "${label}须为${len}个字符",
        min: "${label}最少${min}个字符",
        max: "${label}最多${max}个字符",
        range: "${label}须在${min}-${max}字符之间"
      },
      number: {
        len: "${label}必须等于${len}",
        min: "${label}最小值为${min}",
        max: "${label}最大值为${max}",
        range: "${label}须在${min}-${max}之间"
      },
      array: {
        len: "须为${len}个${label}",
        min: "最少${min}个${label}",
        max: "最多${max}个${label}",
        range: "${label}数量须在${min}-${max}之间"
      },
      pattern: {
        mismatch: "${label}与模式不匹配${pattern}"
      }
    }
  },
  Image: {
    preview: "预览"
  },
  QRCode: {
    expired: "二维码过期",
    refresh: "点击刷新",
    scanned: "已扫描"
  },
  ColorPicker: {
    presetEmpty: "暂无"
  }
}, vp = mp;
var In = {};
/**
 * @license React
 * use-sync-external-store-shim.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var ao;
function hp() {
  return ao || (ao = 1, process.env.NODE_ENV !== "production" && function() {
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
    var e = q, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
    function r(v) {
      {
        for (var x = arguments.length, C = new Array(x > 1 ? x - 1 : 0), E = 1; E < x; E++)
          C[E - 1] = arguments[E];
        n("error", v, C);
      }
    }
    function n(v, x, C) {
      {
        var E = t.ReactDebugCurrentFrame, S = E.getStackAddendum();
        S !== "" && (x += "%s", C = C.concat([S]));
        var $ = C.map(function(k) {
          return String(k);
        });
        $.unshift("Warning: " + x), Function.prototype.apply.call(console[v], console, $);
      }
    }
    function a(v, x) {
      return v === x && (v !== 0 || 1 / v === 1 / x) || v !== v && x !== x;
    }
    var i = typeof Object.is == "function" ? Object.is : a, o = e.useState, l = e.useEffect, s = e.useLayoutEffect, c = e.useDebugValue, u = !1, d = !1;
    function f(v, x, C) {
      u || e.startTransition !== void 0 && (u = !0, r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
      var E = x();
      if (!d) {
        var S = x();
        i(E, S) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0);
      }
      var $ = o({
        inst: {
          value: E,
          getSnapshot: x
        }
      }), k = $[0].inst, _ = $[1];
      return s(function() {
        k.value = E, k.getSnapshot = x, h(k) && _({
          inst: k
        });
      }, [v, E, x]), l(function() {
        h(k) && _({
          inst: k
        });
        var L = function() {
          h(k) && _({
            inst: k
          });
        };
        return v(L);
      }, [v]), c(E), E;
    }
    function h(v) {
      var x = v.getSnapshot, C = v.value;
      try {
        var E = x();
        return !i(C, E);
      } catch {
        return !0;
      }
    }
    function b(v, x, C) {
      return x();
    }
    var p = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", g = !p, m = g ? b : f, y = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : m;
    In.useSyncExternalStore = y, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
  }()), In;
}
var Ln = {};
/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var io;
function bp() {
  if (io)
    return Ln;
  io = 1;
  var e = q;
  function t(d, f) {
    return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
  }
  var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, a = e.useEffect, i = e.useLayoutEffect, o = e.useDebugValue;
  function l(d, f) {
    var h = f(), b = n({ inst: { value: h, getSnapshot: f } }), p = b[0].inst, g = b[1];
    return i(function() {
      p.value = h, p.getSnapshot = f, s(p) && g({ inst: p });
    }, [d, h, f]), a(function() {
      return s(p) && g({ inst: p }), d(function() {
        s(p) && g({ inst: p });
      });
    }, [d]), o(h), h;
  }
  function s(d) {
    var f = d.getSnapshot;
    d = d.value;
    try {
      var h = f();
      return !r(d, h);
    } catch {
      return !0;
    }
  }
  function c(d, f) {
    return f();
  }
  var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? c : l;
  return Ln.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, Ln;
}
process.env.NODE_ENV === "production" ? bp() : hp();
const pt = () => {
}, Me = (
  /*#__NOINLINE__*/
  pt()
), Wr = Object, Ue = (e) => e === Me, Et = (e) => typeof e == "function", mt = (e, t) => ({
  ...e,
  ...t
}), yp = (e) => Et(e.then), Lr = /* @__PURE__ */ new WeakMap();
let Sp = 0;
const dr = (e) => {
  const t = typeof e, r = e && e.constructor, n = r == Date;
  let a, i;
  if (Wr(e) === e && !n && r != RegExp) {
    if (a = Lr.get(e), a)
      return a;
    if (a = ++Sp + "~", Lr.set(e, a), r == Array) {
      for (a = "@", i = 0; i < e.length; i++)
        a += dr(e[i]) + ",";
      Lr.set(e, a);
    }
    if (r == Wr) {
      a = "#";
      const o = Wr.keys(e).sort();
      for (; !Ue(i = o.pop()); )
        Ue(e[i]) || (a += i + ":" + dr(e[i]) + ",");
      Lr.set(e, a);
    }
  } else
    a = n ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
  return a;
}, dt = /* @__PURE__ */ new WeakMap(), Dn = {}, Dr = {}, us = "undefined", Ua = typeof window != us, wa = typeof document != us, xp = (e, t) => {
  const r = dt.get(e);
  return [
    // Getter
    () => !Ue(t) && e.get(t) || Dn,
    // Setter
    (n) => {
      if (!Ue(t)) {
        const a = e.get(t);
        t in Dr || (Dr[t] = a), r[5](t, mt(a, n), a || Dn);
      }
    },
    // Subscriber
    r[6],
    // Get server cache snapshot
    () => !Ue(t) && t in Dr ? Dr[t] : !Ue(t) && e.get(t) || Dn
  ];
};
let Ta = !0;
const Ep = () => Ta, [Pa, Fa] = Ua && window.addEventListener ? [
  window.addEventListener.bind(window),
  window.removeEventListener.bind(window)
] : [
  pt,
  pt
], Cp = () => {
  const e = wa && document.visibilityState;
  return Ue(e) || e !== "hidden";
}, wp = (e) => (wa && document.addEventListener("visibilitychange", e), Pa("focus", e), () => {
  wa && document.removeEventListener("visibilitychange", e), Fa("focus", e);
}), Tp = (e) => {
  const t = () => {
    Ta = !0, e();
  }, r = () => {
    Ta = !1;
  };
  return Pa("online", t), Pa("offline", r), () => {
    Fa("online", t), Fa("offline", r);
  };
}, Pp = {
  isOnline: Ep,
  isVisible: Cp
}, Fp = {
  initFocus: wp,
  initReconnect: Tp
};
q.useId;
const qa = !Ua || "Deno" in window, $p = qa ? Ne : fo, Nn = typeof navigator < "u" && navigator.connection, oo = !qa && Nn && ([
  "slow-2g",
  "2g"
].includes(Nn.effectiveType) || Nn.saveData), ds = (e) => {
  if (Et(e))
    try {
      e = e();
    } catch {
      e = "";
    }
  const t = e;
  return e = typeof e == "string" ? e : (Array.isArray(e) ? e.length : e) ? dr(e) : "", [
    e,
    t
  ];
};
let Op = 0;
const lo = () => ++Op, Rp = 0, _p = 1, kp = 2;
async function Mp(...e) {
  const [t, r, n, a] = e, i = mt({
    populateCache: !0,
    throwOnError: !0
  }, typeof a == "boolean" ? {
    revalidate: a
  } : a || {});
  let o = i.populateCache;
  const l = i.rollbackOnError;
  let s = i.optimisticData;
  const c = i.revalidate !== !1, u = (h) => typeof l == "function" ? l(h) : l !== !1, d = i.throwOnError;
  if (Et(r)) {
    const h = r, b = [], p = t.keys();
    for (const g of p)
      // Skip the special useSWRInfinite and useSWRSubscription keys.
      !/^\$(inf|sub)\$/.test(g) && h(t.get(g)._k) && b.push(g);
    return Promise.all(b.map(f));
  }
  return f(r);
  async function f(h) {
    const [b] = ds(h);
    if (!b)
      return;
    const [p, g] = xp(t, b), [m, y, v, x] = dt.get(t), C = () => {
      const I = m[b];
      return c && (delete v[b], delete x[b], I && I[0]) ? I[0](kp).then(() => p().data) : p().data;
    };
    if (e.length < 3)
      return C();
    let E = n, S;
    const $ = lo();
    y[b] = [
      $,
      0
    ];
    const k = !Ue(s), _ = p(), L = _.data, A = _._c, M = Ue(A) ? L : A;
    if (k && (s = Et(s) ? s(M, L) : s, g({
      data: s,
      _c: M
    })), Et(E))
      try {
        E = E(M);
      } catch (I) {
        S = I;
      }
    if (E && yp(E))
      if (E = await E.catch((I) => {
        S = I;
      }), $ !== y[b][0]) {
        if (S)
          throw S;
        return E;
      } else
        S && k && u(S) && (o = !0, g({
          data: M,
          _c: Me
        }));
    if (o && !S)
      if (Et(o)) {
        const I = o(E, M);
        g({
          data: I,
          error: Me,
          _c: Me
        });
      } else
        g({
          data: E,
          error: Me,
          _c: Me
        });
    if (y[b][1] = lo(), Promise.resolve(C()).then(() => {
      g({
        _c: Me
      });
    }), S) {
      if (d)
        throw S;
      return;
    }
    return E;
  }
}
const so = (e, t) => {
  for (const r in e)
    e[r][0] && e[r][0](t);
}, fs = (e, t) => {
  if (!dt.has(e)) {
    const r = mt(Fp, t), n = {}, a = Mp.bind(Me, e);
    let i = pt;
    const o = {}, l = (u, d) => {
      const f = o[u] || [];
      return o[u] = f, f.push(d), () => f.splice(f.indexOf(d), 1);
    }, s = (u, d, f) => {
      e.set(u, d);
      const h = o[u];
      if (h)
        for (const b of h)
          b(d, f);
    }, c = () => {
      if (!dt.has(e) && (dt.set(e, [
        n,
        {},
        {},
        {},
        a,
        s,
        l
      ]), !qa)) {
        const u = r.initFocus(setTimeout.bind(Me, so.bind(Me, n, Rp))), d = r.initReconnect(setTimeout.bind(Me, so.bind(Me, n, _p)));
        i = () => {
          u && u(), d && d(), dt.delete(e);
        };
      }
    };
    return c(), [
      e,
      a,
      c,
      i
    ];
  }
  return [
    e,
    dt.get(e)[4]
  ];
}, Ap = (e, t, r, n, a) => {
  const i = r.errorRetryCount, o = a.retryCount, l = ~~((Math.random() + 0.5) * (1 << (o < 8 ? o : 8))) * r.errorRetryInterval;
  !Ue(i) && o > i || setTimeout(n, l, a);
}, Ip = (e, t) => dr(e) == dr(t), [Ga, Lp] = fs(/* @__PURE__ */ new Map()), gs = mt(
  {
    // events
    onLoadingSlow: pt,
    onSuccess: pt,
    onError: pt,
    onErrorRetry: Ap,
    onDiscarded: pt,
    // switches
    revalidateOnFocus: !0,
    revalidateOnReconnect: !0,
    revalidateIfStale: !0,
    shouldRetryOnError: !0,
    // timeouts
    errorRetryInterval: oo ? 1e4 : 5e3,
    focusThrottleInterval: 5 * 1e3,
    dedupingInterval: 2 * 1e3,
    loadingTimeout: oo ? 5e3 : 3e3,
    // providers
    compare: Ip,
    isPaused: () => !1,
    cache: Ga,
    mutate: Lp,
    fallback: {}
  },
  // use web preset by default
  Pp
), Dp = (e, t) => {
  const r = mt(e, t);
  if (t) {
    const { use: n, fallback: a } = e, { use: i, fallback: o } = t;
    n && i && (r.use = n.concat(i)), a && o && (r.fallback = mt(a, o));
  }
  return r;
}, $a = Qr({}), Np = (e) => {
  const { value: t } = e, r = we($a), n = Et(t), a = ct(() => n ? t(r) : t, [
    n,
    r,
    t
  ]), i = ct(() => n ? a : Dp(r, a), [
    n,
    r,
    a
  ]), o = a && a.provider, l = ye(Me);
  o && !l.current && (l.current = fs(o(i.cache || Ga), a));
  const s = l.current;
  return s && (i.cache = s[0], i.mutate = s[1]), $p(() => {
    if (s)
      return s[2] && s[2](), s[3];
  }, []), js($a.Provider, mt(e, {
    value: i
  }));
}, jp = "$inf$", ps = Ua && window.__SWR_DEVTOOLS_USE__, Vp = ps ? window.__SWR_DEVTOOLS_USE__ : [], Hp = () => {
  ps && (window.__SWR_DEVTOOLS_REACT__ = q);
}, Bp = () => mt(gs, we($a)), zp = (e) => (t, r, n) => e(t, r && ((...i) => {
  const [o] = ds(t), [, , , l] = dt.get(Ga);
  if (o.startsWith(jp))
    return r(...i);
  const s = l[o];
  return Ue(s) ? r(...i) : (delete l[o], s);
}), n);
Vp.concat(zp);
Hp();
q.use;
const Wp = Wr.defineProperty(Np, "defaultValue", {
  value: gs
});
function Up(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (!r) {
    if (Array.isArray(e) || (r = Jr(e)) || t && e && typeof e.length == "number") {
      r && (e = r);
      var n = 0, a = function() {
      };
      return {
        s: a,
        n: function() {
          return n >= e.length ? {
            done: !0
          } : {
            done: !1,
            value: e[n++]
          };
        },
        e: function(c) {
          throw c;
        },
        f: a
      };
    }
    throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  var i = !0, o = !1, l;
  return {
    s: function() {
      r = r.call(e);
    },
    n: function() {
      var c = r.next();
      return i = c.done, c;
    },
    e: function(c) {
      o = !0, l = c;
    },
    f: function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (o)
          throw l;
      }
    }
  };
}
const qp = {
  moneySymbol: "$",
  form: {
    lightFilter: {
      more: "المزيد",
      clear: "نظف",
      confirm: "تأكيد",
      itemUnit: "عناصر"
    }
  },
  tableForm: {
    search: "ابحث",
    reset: "إعادة تعيين",
    submit: "ارسال",
    collapsed: "مُقلص",
    expand: "مُوسع",
    inputPlaceholder: "الرجاء الإدخال",
    selectPlaceholder: "الرجاء الإختيار"
  },
  alert: {
    clear: "نظف",
    selected: "محدد",
    item: "عنصر"
  },
  pagination: {
    total: {
      range: " ",
      total: "من",
      item: "عناصر"
    }
  },
  tableToolBar: {
    leftPin: "ثبت على اليسار",
    rightPin: "ثبت على اليمين",
    noPin: "الغاء التثبيت",
    leftFixedTitle: "لصق على اليسار",
    rightFixedTitle: "لصق على اليمين",
    noFixedTitle: "إلغاء الإلصاق",
    reset: "إعادة تعيين",
    columnDisplay: "الأعمدة المعروضة",
    columnSetting: "الإعدادات",
    fullScreen: "وضع كامل الشاشة",
    exitFullScreen: "الخروج من وضع كامل الشاشة",
    reload: "تحديث",
    density: "الكثافة",
    densityDefault: "افتراضي",
    densityLarger: "أكبر",
    densityMiddle: "وسط",
    densitySmall: "مدمج"
  },
  stepsForm: {
    next: "التالي",
    prev: "السابق",
    submit: "أنهى"
  },
  loginForm: {
    submitText: "تسجيل الدخول"
  },
  editableTable: {
    action: {
      save: "أنقذ",
      cancel: "إلغاء الأمر",
      delete: "حذف",
      add: "إضافة صف من البيانات"
    }
  },
  switch: {
    open: "مفتوح",
    close: "غلق"
  }
}, Gp = {
  moneySymbol: "€",
  form: {
    lightFilter: {
      more: "Més",
      clear: "Netejar",
      confirm: "Confirmar",
      itemUnit: "Elements"
    }
  },
  tableForm: {
    search: "Cercar",
    reset: "Netejar",
    submit: "Enviar",
    collapsed: "Expandir",
    expand: "Col·lapsar",
    inputPlaceholder: "Introduïu valor",
    selectPlaceholder: "Seleccioneu valor"
  },
  alert: {
    clear: "Netejar",
    selected: "Seleccionat",
    item: "Article"
  },
  pagination: {
    total: {
      range: " ",
      total: "de",
      item: "articles"
    }
  },
  tableToolBar: {
    leftPin: "Pin a l'esquerra",
    rightPin: "Pin a la dreta",
    noPin: "Sense Pin",
    leftFixedTitle: "Fixat a l'esquerra",
    rightFixedTitle: "Fixat a la dreta",
    noFixedTitle: "Sense fixar",
    reset: "Reiniciar",
    columnDisplay: "Mostrar Columna",
    columnSetting: "Configuració",
    fullScreen: "Pantalla Completa",
    exitFullScreen: "Sortir Pantalla Completa",
    reload: "Refrescar",
    density: "Densitat",
    densityDefault: "Per Defecte",
    densityLarger: "Llarg",
    densityMiddle: "Mitjà",
    densitySmall: "Compacte"
  },
  stepsForm: {
    next: "Següent",
    prev: "Anterior",
    submit: "Finalizar"
  },
  loginForm: {
    submitText: "Entrar"
  },
  editableTable: {
    action: {
      save: "Guardar",
      cancel: "Cancel·lar",
      delete: "Eliminar",
      add: "afegir una fila de dades"
    }
  },
  switch: {
    open: "obert",
    close: "tancat"
  }
}, Yp = {
  moneySymbol: "Kč",
  deleteThisLine: "Smazat tento řádek",
  copyThisLine: "Kopírovat tento řádek",
  form: {
    lightFilter: {
      more: "Víc",
      clear: "Vymazat",
      confirm: "Potvrdit",
      itemUnit: "Položky"
    }
  },
  tableForm: {
    search: "Dotaz",
    reset: "Resetovat",
    submit: "Odeslat",
    collapsed: "Zvětšit",
    expand: "Zmenšit",
    inputPlaceholder: "Zadejte prosím",
    selectPlaceholder: "Vyberte prosím"
  },
  alert: {
    clear: "Vymazat",
    selected: "Vybraný",
    item: "Položka"
  },
  pagination: {
    total: {
      range: " ",
      total: "z",
      item: "položek"
    }
  },
  tableToolBar: {
    leftPin: "Připnout doleva",
    rightPin: "Připnout doprava",
    noPin: "Odepnuto",
    leftFixedTitle: "Fixováno nalevo",
    rightFixedTitle: "Fixováno napravo",
    noFixedTitle: "Neopraveno",
    reset: "Resetovat",
    columnDisplay: "Zobrazení sloupců",
    columnSetting: "Nastavení",
    fullScreen: "Celá obrazovka",
    exitFullScreen: "Ukončete celou obrazovku",
    reload: "Obnovit",
    density: "Hustota",
    densityDefault: "Výchozí",
    densityLarger: "Větší",
    densityMiddle: "Střední",
    densitySmall: "Kompaktní"
  },
  stepsForm: {
    next: "Další",
    prev: "Předchozí",
    submit: "Dokončit"
  },
  loginForm: {
    submitText: "Přihlásit se"
  },
  editableTable: {
    onlyOneLineEditor: "Upravit lze pouze jeden řádek",
    action: {
      save: "Uložit",
      cancel: "Zrušit",
      delete: "Vymazat",
      add: "přidat řádek dat"
    }
  },
  switch: {
    open: "otevřít",
    close: "zavřít"
  }
}, Kp = {
  moneySymbol: "€",
  form: {
    lightFilter: {
      more: "Mehr",
      clear: "Zurücksetzen",
      confirm: "Bestätigen",
      itemUnit: "Einträge"
    }
  },
  tableForm: {
    search: "Suchen",
    reset: "Zurücksetzen",
    submit: "Absenden",
    collapsed: "Zeige mehr",
    expand: "Zeige weniger",
    inputPlaceholder: "Bitte eingeben",
    selectPlaceholder: "Bitte auswählen"
  },
  alert: {
    clear: "Zurücksetzen",
    selected: "Ausgewählt",
    item: "Eintrag"
  },
  pagination: {
    total: {
      range: " ",
      total: "von",
      item: "Einträgen"
    }
  },
  tableToolBar: {
    leftPin: "Links anheften",
    rightPin: "Rechts anheften",
    noPin: "Nicht angeheftet",
    leftFixedTitle: "Links fixiert",
    rightFixedTitle: "Rechts fixiert",
    noFixedTitle: "Nicht fixiert",
    reset: "Zurücksetzen",
    columnDisplay: "Angezeigte Reihen",
    columnSetting: "Einstellungen",
    fullScreen: "Vollbild",
    exitFullScreen: "Vollbild verlassen",
    reload: "Aktualisieren",
    density: "Abstand",
    densityDefault: "Standard",
    densityLarger: "Größer",
    densityMiddle: "Mittel",
    densitySmall: "Kompakt"
  },
  stepsForm: {
    next: "Weiter",
    prev: "Zurück",
    submit: "Abschließen"
  },
  loginForm: {
    submitText: "Anmelden"
  },
  editableTable: {
    action: {
      save: "Retten",
      cancel: "Abbrechen",
      delete: "Löschen",
      add: "Hinzufügen einer Datenzeile"
    }
  },
  switch: {
    open: "offen",
    close: "schließen"
  }
}, Xp = {
  moneySymbol: "£",
  form: {
    lightFilter: {
      more: "More",
      clear: "Clear",
      confirm: "Confirm",
      itemUnit: "Items"
    }
  },
  tableForm: {
    search: "Query",
    reset: "Reset",
    submit: "Submit",
    collapsed: "Expand",
    expand: "Collapse",
    inputPlaceholder: "Please enter",
    selectPlaceholder: "Please select"
  },
  alert: {
    clear: "Clear",
    selected: "Selected",
    item: "Item"
  },
  pagination: {
    total: {
      range: " ",
      total: "of",
      item: "items"
    }
  },
  tableToolBar: {
    leftPin: "Pin to left",
    rightPin: "Pin to right",
    noPin: "Unpinned",
    leftFixedTitle: "Fixed to the left",
    rightFixedTitle: "Fixed to the right",
    noFixedTitle: "Not Fixed",
    reset: "Reset",
    columnDisplay: "Column Display",
    columnSetting: "Table Settings",
    fullScreen: "Full Screen",
    exitFullScreen: "Exit Full Screen",
    reload: "Refresh",
    density: "Density",
    densityDefault: "Default",
    densityLarger: "Larger",
    densityMiddle: "Middle",
    densitySmall: "Compact"
  },
  stepsForm: {
    next: "Next",
    prev: "Previous",
    submit: "Finish"
  },
  loginForm: {
    submitText: "Login"
  },
  editableTable: {
    action: {
      save: "Save",
      cancel: "Cancel",
      delete: "Delete",
      add: "add a row of data"
    }
  },
  switch: {
    open: "open",
    close: "close"
  }
}, Zp = {
  moneySymbol: "$",
  deleteThisLine: "Delete this line",
  copyThisLine: "Copy this line",
  form: {
    lightFilter: {
      more: "More",
      clear: "Clear",
      confirm: "Confirm",
      itemUnit: "Items"
    }
  },
  tableForm: {
    search: "Query",
    reset: "Reset",
    submit: "Submit",
    collapsed: "Expand",
    expand: "Collapse",
    inputPlaceholder: "Please enter",
    selectPlaceholder: "Please select"
  },
  alert: {
    clear: "Clear",
    selected: "Selected",
    item: "Item"
  },
  pagination: {
    total: {
      range: " ",
      total: "of",
      item: "items"
    }
  },
  tableToolBar: {
    leftPin: "Pin to left",
    rightPin: "Pin to right",
    noPin: "Unpinned",
    leftFixedTitle: "Fixed to the left",
    rightFixedTitle: "Fixed to the right",
    noFixedTitle: "Not Fixed",
    reset: "Reset",
    columnDisplay: "Column Display",
    columnSetting: "Table Settings",
    fullScreen: "Full Screen",
    exitFullScreen: "Exit Full Screen",
    reload: "Refresh",
    density: "Density",
    densityDefault: "Default",
    densityLarger: "Larger",
    densityMiddle: "Middle",
    densitySmall: "Compact"
  },
  stepsForm: {
    next: "Next",
    prev: "Previous",
    submit: "Finish"
  },
  loginForm: {
    submitText: "Login"
  },
  editableTable: {
    onlyOneLineEditor: "Only one line can be edited",
    action: {
      save: "Save",
      cancel: "Cancel",
      delete: "Delete",
      add: "add a row of data"
    }
  },
  switch: {
    open: "open",
    close: "close"
  }
}, Qp = {
  moneySymbol: "€",
  form: {
    lightFilter: {
      more: "Más",
      clear: "Limpiar",
      confirm: "Confirmar",
      itemUnit: "artículos"
    }
  },
  tableForm: {
    search: "Buscar",
    reset: "Limpiar",
    submit: "Submit",
    collapsed: "Expandir",
    expand: "Colapsar",
    inputPlaceholder: "Ingrese valor",
    selectPlaceholder: "Seleccione valor"
  },
  alert: {
    clear: "Limpiar",
    selected: "Seleccionado",
    item: "Articulo"
  },
  pagination: {
    total: {
      range: " ",
      total: "de",
      item: "artículos"
    }
  },
  tableToolBar: {
    leftPin: "Pin a la izquierda",
    rightPin: "Pin a la derecha",
    noPin: "Sin Pin",
    leftFixedTitle: "Fijado a la izquierda",
    rightFixedTitle: "Fijado a la derecha",
    noFixedTitle: "Sin Fijar",
    reset: "Reiniciar",
    columnDisplay: "Mostrar Columna",
    columnSetting: "Configuración",
    fullScreen: "Pantalla Completa",
    exitFullScreen: "Salir Pantalla Completa",
    reload: "Refrescar",
    density: "Densidad",
    densityDefault: "Por Defecto",
    densityLarger: "Largo",
    densityMiddle: "Medio",
    densitySmall: "Compacto"
  },
  stepsForm: {
    next: "Siguiente",
    prev: "Anterior",
    submit: "Finalizar"
  },
  loginForm: {
    submitText: "Entrar"
  },
  editableTable: {
    action: {
      save: "Guardar",
      cancel: "Descartar",
      delete: "Borrar",
      add: "añadir una fila de datos"
    }
  },
  switch: {
    open: "abrir",
    close: "cerrar"
  }
}, Jp = {
  moneySymbol: "تومان",
  form: {
    lightFilter: {
      more: "بیشتر",
      clear: "پاک کردن",
      confirm: "تایید",
      itemUnit: "مورد"
    }
  },
  tableForm: {
    search: "جستجو",
    reset: "بازنشانی",
    submit: "تایید",
    collapsed: "نمایش بیشتر",
    expand: "نمایش کمتر",
    inputPlaceholder: "پیدا کنید",
    selectPlaceholder: "انتخاب کنید"
  },
  alert: {
    clear: "پاک سازی",
    selected: "انتخاب",
    item: "مورد"
  },
  pagination: {
    total: {
      range: " ",
      total: "از",
      item: "مورد"
    }
  },
  tableToolBar: {
    leftPin: "سنجاق به چپ",
    rightPin: "سنجاق به راست",
    noPin: "سنجاق نشده",
    leftFixedTitle: "ثابت شده در چپ",
    rightFixedTitle: "ثابت شده در راست",
    noFixedTitle: "شناور",
    reset: "بازنشانی",
    columnDisplay: "نمایش همه",
    columnSetting: "تنظیمات",
    fullScreen: "تمام صفحه",
    exitFullScreen: "خروج از حالت تمام صفحه",
    reload: "تازه سازی",
    density: "تراکم",
    densityDefault: "پیش فرض",
    densityLarger: "بزرگ",
    densityMiddle: "متوسط",
    densitySmall: "کوچک"
  },
  stepsForm: {
    next: "بعدی",
    prev: "قبلی",
    submit: "اتمام"
  },
  loginForm: {
    submitText: "ورود"
  },
  editableTable: {
    action: {
      save: "ذخیره",
      cancel: "لغو",
      delete: "حذف",
      add: "یک ردیف داده اضافه کنید"
    }
  },
  switch: {
    open: "باز",
    close: "نزدیک"
  }
}, em = {
  moneySymbol: "€",
  form: {
    lightFilter: {
      more: "Plus",
      clear: "Effacer",
      confirm: "Confirmer",
      itemUnit: "Items"
    }
  },
  tableForm: {
    search: "Rechercher",
    reset: "Réinitialiser",
    submit: "Envoyer",
    collapsed: "Agrandir",
    expand: "Réduire",
    inputPlaceholder: "Entrer une valeur",
    selectPlaceholder: "Sélectionner une valeur"
  },
  alert: {
    clear: "Réinitialiser",
    selected: "Sélectionné",
    item: "Item"
  },
  pagination: {
    total: {
      range: " ",
      total: "sur",
      item: "éléments"
    }
  },
  tableToolBar: {
    leftPin: "Épingler à gauche",
    rightPin: "Épingler à gauche",
    noPin: "Sans épingle",
    leftFixedTitle: "Fixer à gauche",
    rightFixedTitle: "Fixer à droite",
    noFixedTitle: "Non fixé",
    reset: "Réinitialiser",
    columnDisplay: "Affichage colonne",
    columnSetting: "Réglages",
    fullScreen: "Plein écran",
    exitFullScreen: "Quitter Plein écran",
    reload: "Rafraichir",
    density: "Densité",
    densityDefault: "Par défaut",
    densityLarger: "Larger",
    densityMiddle: "Moyenne",
    densitySmall: "Compacte"
  },
  stepsForm: {
    next: "Suivante",
    prev: "Précédente",
    submit: "Finaliser"
  },
  loginForm: {
    submitText: "Se connecter"
  },
  editableTable: {
    action: {
      save: "Sauvegarder",
      cancel: "Annuler",
      delete: "Supprimer",
      add: "ajouter une ligne de données"
    }
  },
  switch: {
    open: "ouvert",
    close: "près"
  }
}, tm = {
  moneySymbol: "₪",
  deleteThisLine: "מחק שורה זו",
  copyThisLine: "העתק שורה זו",
  form: {
    lightFilter: {
      more: "יותר",
      clear: "נקה",
      confirm: "אישור",
      itemUnit: "פריטים"
    }
  },
  tableForm: {
    search: "חיפוש",
    reset: "איפוס",
    submit: "שלח",
    collapsed: "הרחב",
    expand: "כווץ",
    inputPlaceholder: "אנא הכנס",
    selectPlaceholder: "אנא בחר"
  },
  alert: {
    clear: "נקה",
    selected: "נבחר",
    item: "פריט"
  },
  pagination: {
    total: {
      range: " ",
      total: "מתוך",
      item: "פריטים"
    }
  },
  tableToolBar: {
    leftPin: "הצמד לשמאל",
    rightPin: "הצמד לימין",
    noPin: "לא מצורף",
    leftFixedTitle: "מוצמד לשמאל",
    rightFixedTitle: "מוצמד לימין",
    noFixedTitle: "לא מוצמד",
    reset: "איפוס",
    columnDisplay: "תצוגת עמודות",
    columnSetting: "הגדרות",
    fullScreen: "מסך מלא",
    exitFullScreen: "צא ממסך מלא",
    reload: "רענן",
    density: "רזולוציה",
    densityDefault: "ברירת מחדל",
    densityLarger: "גדול",
    densityMiddle: "בינוני",
    densitySmall: "קטן"
  },
  stepsForm: {
    next: "הבא",
    prev: "קודם",
    submit: "סיום"
  },
  loginForm: {
    submitText: "כניסה"
  },
  editableTable: {
    onlyOneLineEditor: "ניתן לערוך רק שורה אחת",
    action: {
      save: "שמור",
      cancel: "ביטול",
      delete: "מחיקה",
      add: "הוסף שורת נתונים"
    }
  },
  switch: {
    open: "פתח",
    close: "סגור"
  }
}, rm = {
  moneySymbol: "kn",
  form: {
    lightFilter: {
      more: "Više",
      clear: "Očisti",
      confirm: "Potvrdi",
      itemUnit: "Stavke"
    }
  },
  tableForm: {
    search: "Pretraži",
    reset: "Poništi",
    submit: "Potvrdi",
    collapsed: "Raširi",
    expand: "Skupi",
    inputPlaceholder: "Unesite",
    selectPlaceholder: "Odaberite"
  },
  alert: {
    clear: "Očisti",
    selected: "Odaberi",
    item: "stavke"
  },
  pagination: {
    total: {
      range: " ",
      total: "od",
      item: "stavke"
    }
  },
  tableToolBar: {
    leftPin: "Prikači lijevo",
    rightPin: "Prikači desno",
    noPin: "Bez prikačenja",
    leftFixedTitle: "Fiksiraj lijevo",
    rightFixedTitle: "Fiksiraj desno",
    noFixedTitle: "Bez fiksiranja",
    reset: "Resetiraj",
    columnDisplay: "Prikaz stupaca",
    columnSetting: "Postavke",
    fullScreen: "Puni zaslon",
    exitFullScreen: "Izađi iz punog zaslona",
    reload: "Ponovno učitaj",
    density: "Veličina",
    densityDefault: "Zadano",
    densityLarger: "Veliko",
    densityMiddle: "Srednje",
    densitySmall: "Malo"
  },
  stepsForm: {
    next: "Sljedeći",
    prev: "Prethodni",
    submit: "Kraj"
  },
  loginForm: {
    submitText: "Prijava"
  },
  editableTable: {
    action: {
      save: "Spremi",
      cancel: "Odustani",
      delete: "Obriši",
      add: "dodajte red podataka"
    }
  },
  switch: {
    open: "otvori",
    close: "zatvori"
  }
}, nm = {
  moneySymbol: "RP",
  form: {
    lightFilter: {
      more: "Lebih",
      clear: "Hapus",
      confirm: "Konfirmasi",
      itemUnit: "Unit"
    }
  },
  tableForm: {
    search: "Cari",
    reset: "Atur ulang",
    submit: "Kirim",
    collapsed: "Lebih sedikit",
    expand: "Lebih banyak",
    inputPlaceholder: "Masukkan pencarian",
    selectPlaceholder: "Pilih"
  },
  alert: {
    clear: "Hapus",
    selected: "Dipilih",
    item: "Butir"
  },
  pagination: {
    total: {
      range: " ",
      total: "Dari",
      item: "Butir"
    }
  },
  tableToolBar: {
    leftPin: "Pin kiri",
    rightPin: "Pin kanan",
    noPin: "Tidak ada pin",
    leftFixedTitle: "Rata kiri",
    rightFixedTitle: "Rata kanan",
    noFixedTitle: "Tidak tetap",
    reset: "Atur ulang",
    columnDisplay: "Tampilan kolom",
    columnSetting: "Pengaturan",
    fullScreen: "Layar penuh",
    exitFullScreen: "Keluar layar penuh",
    reload: "Atur ulang",
    density: "Kerapatan",
    densityDefault: "Standar",
    densityLarger: "Lebih besar",
    densityMiddle: "Sedang",
    densitySmall: "Rapat"
  },
  stepsForm: {
    next: "Selanjutnya",
    prev: "Sebelumnya",
    submit: "Selesai"
  },
  loginForm: {
    submitText: "Login"
  },
  editableTable: {
    action: {
      save: "simpan",
      cancel: "batal",
      delete: "hapus",
      add: "Tambahkan baris data"
    }
  },
  switch: {
    open: "buka",
    close: "tutup"
  }
}, am = {
  moneySymbol: "€",
  form: {
    lightFilter: {
      more: "più",
      clear: "pulisci",
      confirm: "conferma",
      itemUnit: "elementi"
    }
  },
  tableForm: {
    search: "Filtra",
    reset: "Pulisci",
    submit: "Invia",
    collapsed: "Espandi",
    expand: "Contrai",
    inputPlaceholder: "Digita",
    selectPlaceholder: "Seleziona"
  },
  alert: {
    clear: "Rimuovi",
    selected: "Selezionati",
    item: "elementi"
  },
  pagination: {
    total: {
      range: " ",
      total: "di",
      item: "elementi"
    }
  },
  tableToolBar: {
    leftPin: "Fissa a sinistra",
    rightPin: "Fissa a destra",
    noPin: "Ripristina posizione",
    leftFixedTitle: "Fissato a sinistra",
    rightFixedTitle: "Fissato a destra",
    noFixedTitle: "Non fissato",
    reset: "Ripristina",
    columnDisplay: "Disposizione colonne",
    columnSetting: "Impostazioni",
    fullScreen: "Modalità schermo intero",
    exitFullScreen: "Esci da modalità schermo intero",
    reload: "Ricarica",
    density: "Grandezza tabella",
    densityDefault: "predefinito",
    densityLarger: "Grande",
    densityMiddle: "Media",
    densitySmall: "Compatta"
  },
  stepsForm: {
    next: "successivo",
    prev: "precedente",
    submit: "finisci"
  },
  loginForm: {
    submitText: "Accedi"
  },
  editableTable: {
    action: {
      save: "salva",
      cancel: "annulla",
      delete: "Delete",
      add: "add a row of data"
    }
  },
  switch: {
    open: "open",
    close: "chiudi"
  }
}, im = {
  moneySymbol: "¥",
  form: {
    lightFilter: {
      more: "更に",
      clear: "クリア",
      confirm: "確認",
      itemUnit: "アイテム"
    }
  },
  tableForm: {
    search: "検索",
    reset: "リセット",
    submit: "送信",
    collapsed: "拡大",
    expand: "折畳",
    inputPlaceholder: "入力してください",
    selectPlaceholder: "選択してください"
  },
  alert: {
    clear: "クリア",
    selected: "選択した",
    item: "アイテム"
  },
  pagination: {
    total: {
      range: "レコード",
      total: "/合計",
      item: " "
    }
  },
  tableToolBar: {
    leftPin: "左に固定",
    rightPin: "右に固定",
    noPin: "キャンセル",
    leftFixedTitle: "左に固定された項目",
    rightFixedTitle: "右に固定された項目",
    noFixedTitle: "固定されてない項目",
    reset: "リセット",
    columnDisplay: "表示列",
    columnSetting: "列表示設定",
    fullScreen: "フルスクリーン",
    exitFullScreen: "終了",
    reload: "更新",
    density: "行高",
    densityDefault: "デフォルト",
    densityLarger: "大",
    densityMiddle: "中",
    densitySmall: "小"
  },
  stepsForm: {
    next: "次へ",
    prev: "前へ",
    submit: "送信"
  },
  loginForm: {
    submitText: "ログイン"
  },
  editableTable: {
    action: {
      save: "保存",
      cancel: "キャンセル",
      delete: "削除",
      add: "追加"
    }
  },
  switch: {
    open: "開く",
    close: "閉じる"
  }
}, om = {
  moneySymbol: "₩",
  form: {
    lightFilter: {
      more: "더보기",
      clear: "초기화",
      confirm: "확인",
      itemUnit: "건수"
    }
  },
  tableForm: {
    search: "조회",
    reset: "초기화",
    submit: "제출",
    collapsed: "확장",
    expand: "닫기",
    inputPlaceholder: "입력해 주세요",
    selectPlaceholder: "선택해 주세요"
  },
  alert: {
    clear: "취소",
    selected: "선택",
    item: "건"
  },
  pagination: {
    total: {
      range: " ",
      total: "/ 총",
      item: "건"
    }
  },
  tableToolBar: {
    leftPin: "왼쪽으로 핀",
    rightPin: "오른쪽으로 핀",
    noPin: "핀 제거",
    leftFixedTitle: "왼쪽으로 고정",
    rightFixedTitle: "오른쪽으로 고정",
    noFixedTitle: "비고정",
    reset: "초기화",
    columnDisplay: "컬럼 표시",
    columnSetting: "설정",
    fullScreen: "전체 화면",
    exitFullScreen: "전체 화면 취소",
    reload: "새로 고침",
    density: "여백",
    densityDefault: "기본",
    densityLarger: "많은 여백",
    densityMiddle: "중간 여백",
    densitySmall: "좁은 여백"
  },
  stepsForm: {
    next: "다음",
    prev: "이전",
    submit: "종료"
  },
  loginForm: {
    submitText: "로그인"
  },
  editableTable: {
    action: {
      save: "저장",
      cancel: "취소",
      delete: "삭제",
      add: "데이터 행 추가"
    }
  },
  switch: {
    open: "열",
    close: "가까 운"
  }
}, lm = {
  moneySymbol: "₮",
  form: {
    lightFilter: {
      more: "Илүү",
      clear: "Цэвэрлэх",
      confirm: "Баталгаажуулах",
      itemUnit: "Нэгжүүд"
    }
  },
  tableForm: {
    search: "Хайх",
    reset: "Шинэчлэх",
    submit: "Илгээх",
    collapsed: "Өргөтгөх",
    expand: "Хураах",
    inputPlaceholder: "Утга оруулна уу",
    selectPlaceholder: "Утга сонгоно уу"
  },
  alert: {
    clear: "Цэвэрлэх",
    selected: "Сонгогдсон",
    item: "Нэгж"
  },
  pagination: {
    total: {
      range: " ",
      total: "Нийт",
      item: "мөр"
    }
  },
  tableToolBar: {
    leftPin: "Зүүн тийш бэхлэх",
    rightPin: "Баруун тийш бэхлэх",
    noPin: "Бэхлэхгүй",
    leftFixedTitle: "Зүүн зэрэгцүүлэх",
    rightFixedTitle: "Баруун зэрэгцүүлэх",
    noFixedTitle: "Зэрэгцүүлэхгүй",
    reset: "Шинэчлэх",
    columnDisplay: "Баганаар харуулах",
    columnSetting: "Тохиргоо",
    fullScreen: "Бүтэн дэлгэцээр",
    exitFullScreen: "Бүтэн дэлгэц цуцлах",
    reload: "Шинэчлэх",
    density: "Хэмжээ",
    densityDefault: "Хэвийн",
    densityLarger: "Том",
    densityMiddle: "Дунд",
    densitySmall: "Жижиг"
  },
  stepsForm: {
    next: "Дараах",
    prev: "Өмнөх",
    submit: "Дуусгах"
  },
  loginForm: {
    submitText: "Нэвтрэх"
  },
  editableTable: {
    action: {
      save: "Хадгалах",
      cancel: "Цуцлах",
      delete: "Устгах",
      add: "Мөр нэмэх"
    }
  },
  switch: {
    open: "Нээх",
    close: "Хаах"
  }
}, sm = {
  moneySymbol: "RM",
  form: {
    lightFilter: {
      more: "Lebih banyak",
      clear: "Jelas",
      confirm: "Mengesahkan",
      itemUnit: "Item"
    }
  },
  tableForm: {
    search: "Cari",
    reset: "Menetapkan semula",
    submit: "Hantar",
    collapsed: "Kembang",
    expand: "Kuncup",
    inputPlaceholder: "Sila masuk",
    selectPlaceholder: "Sila pilih"
  },
  alert: {
    clear: "Padam",
    selected: "Dipilih",
    item: "Item"
  },
  pagination: {
    total: {
      range: " ",
      total: "daripada",
      item: "item"
    }
  },
  tableToolBar: {
    leftPin: "Pin ke kiri",
    rightPin: "Pin ke kanan",
    noPin: "Tidak pin",
    leftFixedTitle: "Tetap ke kiri",
    rightFixedTitle: "Tetap ke kanan",
    noFixedTitle: "Tidak Tetap",
    reset: "Menetapkan semula",
    columnDisplay: "Lajur",
    columnSetting: "Settings",
    fullScreen: "Full Screen",
    exitFullScreen: "Keluar Full Screen",
    reload: "Muat Semula",
    density: "Densiti",
    densityDefault: "Biasa",
    densityLarger: "Besar",
    densityMiddle: "Tengah",
    densitySmall: "Kecil"
  },
  stepsForm: {
    next: "Seterusnya",
    prev: "Sebelumnya",
    submit: "Selesai"
  },
  loginForm: {
    submitText: "Log Masuk"
  },
  editableTable: {
    action: {
      save: "Simpan",
      cancel: "Membatalkan",
      delete: "Menghapuskan",
      add: "tambah baris data"
    }
  },
  switch: {
    open: "Terbuka",
    close: "Tutup"
  }
}, cm = {
  moneySymbol: "zł",
  form: {
    lightFilter: {
      more: "Więcej",
      clear: "Wyczyść",
      confirm: "Potwierdź",
      itemUnit: "Ilość"
    }
  },
  tableForm: {
    search: "Szukaj",
    reset: "Reset",
    submit: "Zatwierdź",
    collapsed: "Pokaż wiecej",
    expand: "Pokaż mniej",
    inputPlaceholder: "Proszę podać",
    selectPlaceholder: "Proszę wybrać"
  },
  alert: {
    clear: "Wyczyść",
    selected: "Wybrane",
    item: "Wpis"
  },
  pagination: {
    total: {
      range: " ",
      total: "z",
      item: "Wpisów"
    }
  },
  tableToolBar: {
    leftPin: "Przypnij do lewej",
    rightPin: "Przypnij do prawej",
    noPin: "Odepnij",
    leftFixedTitle: "Przypięte do lewej",
    rightFixedTitle: "Przypięte do prawej",
    noFixedTitle: "Nieprzypięte",
    reset: "Reset",
    columnDisplay: "Wyświetlane wiersze",
    columnSetting: "Ustawienia",
    fullScreen: "Pełen ekran",
    exitFullScreen: "Zamknij pełen ekran",
    reload: "Odśwież",
    density: "Odstęp",
    densityDefault: "Standard",
    densityLarger: "Wiekszy",
    densityMiddle: "Sredni",
    densitySmall: "Kompaktowy"
  },
  stepsForm: {
    next: "Weiter",
    prev: "Zurück",
    submit: "Abschließen"
  },
  loginForm: {
    submitText: "Zaloguj się"
  },
  editableTable: {
    action: {
      save: "Zapisać",
      cancel: "Anuluj",
      delete: "Usunąć",
      add: "dodawanie wiersza danych"
    }
  },
  switch: {
    open: "otwierać",
    close: "zamykać"
  }
}, um = {
  moneySymbol: "R$",
  form: {
    lightFilter: {
      more: "Mais",
      clear: "Limpar",
      confirm: "Confirmar",
      itemUnit: "Itens"
    }
  },
  tableForm: {
    search: "Filtrar",
    reset: "Limpar",
    submit: "Confirmar",
    collapsed: "Expandir",
    expand: "Colapsar",
    inputPlaceholder: "Por favor insira",
    selectPlaceholder: "Por favor selecione"
  },
  alert: {
    clear: "Limpar",
    selected: "Selecionado(s)",
    item: "Item(s)"
  },
  pagination: {
    total: {
      range: " ",
      total: "de",
      item: "itens"
    }
  },
  tableToolBar: {
    leftPin: "Fixar à esquerda",
    rightPin: "Fixar à direita",
    noPin: "Desfixado",
    leftFixedTitle: "Fixado à esquerda",
    rightFixedTitle: "Fixado à direita",
    noFixedTitle: "Não fixado",
    reset: "Limpar",
    columnDisplay: "Mostrar Coluna",
    columnSetting: "Configurações",
    fullScreen: "Tela Cheia",
    exitFullScreen: "Sair da Tela Cheia",
    reload: "Atualizar",
    density: "Densidade",
    densityDefault: "Padrão",
    densityLarger: "Largo",
    densityMiddle: "Médio",
    densitySmall: "Compacto"
  },
  stepsForm: {
    next: "Próximo",
    prev: "Anterior",
    submit: "Enviar"
  },
  loginForm: {
    submitText: "Entrar"
  },
  editableTable: {
    action: {
      save: "Salvar",
      cancel: "Cancelar",
      delete: "Apagar",
      add: "adicionar uma linha de dados"
    }
  },
  switch: {
    open: "abrir",
    close: "fechar"
  }
}, dm = {
  moneySymbol: "₽",
  form: {
    lightFilter: {
      more: "Еще",
      clear: "Очистить",
      confirm: "ОК",
      itemUnit: "Позиции"
    }
  },
  tableForm: {
    search: "Найти",
    reset: "Сброс",
    submit: "Отправить",
    collapsed: "Развернуть",
    expand: "Свернуть",
    inputPlaceholder: "Введите значение",
    selectPlaceholder: "Выберите значение"
  },
  alert: {
    clear: "Очистить",
    selected: "Выбрано",
    item: "элементов"
  },
  pagination: {
    total: {
      range: " ",
      total: "из",
      item: "элементов"
    }
  },
  tableToolBar: {
    leftPin: "Закрепить слева",
    rightPin: "Закрепить справа",
    noPin: "Открепить",
    leftFixedTitle: "Закреплено слева",
    rightFixedTitle: "Закреплено справа",
    noFixedTitle: "Не закреплено",
    reset: "Сброс",
    columnDisplay: "Отображение столбца",
    columnSetting: "Настройки",
    fullScreen: "Полный экран",
    exitFullScreen: "Выйти из полноэкранного режима",
    reload: "Обновить",
    density: "Размер",
    densityDefault: "По умолчанию",
    densityLarger: "Большой",
    densityMiddle: "Средний",
    densitySmall: "Сжатый"
  },
  stepsForm: {
    next: "Следующий",
    prev: "Предыдущий",
    submit: "Завершить"
  },
  loginForm: {
    submitText: "Вход"
  },
  editableTable: {
    action: {
      save: "Сохранить",
      cancel: "Отменить",
      delete: "Удалить",
      add: "добавить ряд данных"
    }
  },
  switch: {
    open: "Открытый чемпионат мира по теннису",
    close: "По адресу:"
  }
}, fm = {
  moneySymbol: "€",
  deleteThisLine: "Odstrániť tento riadok",
  copyThisLine: "Skopírujte tento riadok",
  form: {
    lightFilter: {
      more: "Viac",
      clear: "Vyčistiť",
      confirm: "Potvrďte",
      itemUnit: "Položky"
    }
  },
  tableForm: {
    search: "Vyhladať",
    reset: "Resetovať",
    submit: "Odoslať",
    collapsed: "Rozbaliť",
    expand: "Zbaliť",
    inputPlaceholder: "Prosím, zadajte",
    selectPlaceholder: "Prosím, vyberte"
  },
  alert: {
    clear: "Vyčistiť",
    selected: "Vybraný",
    item: "Položka"
  },
  pagination: {
    total: {
      range: " ",
      total: "z",
      item: "položiek"
    }
  },
  tableToolBar: {
    leftPin: "Pripnúť vľavo",
    rightPin: "Pripnúť vpravo",
    noPin: "Odopnuté",
    leftFixedTitle: "Fixované na ľavo",
    rightFixedTitle: "Fixované na pravo",
    noFixedTitle: "Nefixované",
    reset: "Resetovať",
    columnDisplay: "Zobrazenie stĺpcov",
    columnSetting: "Nastavenia",
    fullScreen: "Celá obrazovka",
    exitFullScreen: "Ukončiť celú obrazovku",
    reload: "Obnoviť",
    density: "Hustota",
    densityDefault: "Predvolené",
    densityLarger: "Väčšie",
    densityMiddle: "Stredné",
    densitySmall: "Kompaktné"
  },
  stepsForm: {
    next: "Ďalšie",
    prev: "Predchádzajúce",
    submit: "Potvrdiť"
  },
  loginForm: {
    submitText: "Prihlásiť sa"
  },
  editableTable: {
    onlyOneLineEditor: "Upravovať možno iba jeden riadok",
    action: {
      save: "Uložiť",
      cancel: "Zrušiť",
      delete: "Odstrániť",
      add: "pridať riadok údajov"
    }
  },
  switch: {
    open: "otvoriť",
    close: "zavrieť"
  }
}, gm = {
  moneySymbol: "RSD",
  form: {
    lightFilter: {
      more: "Više",
      clear: "Očisti",
      confirm: "Potvrdi",
      itemUnit: "Stavke"
    }
  },
  tableForm: {
    search: "Pronađi",
    reset: "Resetuj",
    submit: "Pošalji",
    collapsed: "Proširi",
    expand: "Skupi",
    inputPlaceholder: "Molimo unesite",
    selectPlaceholder: "Molimo odaberite"
  },
  alert: {
    clear: "Očisti",
    selected: "Odabrano",
    item: "Stavka"
  },
  pagination: {
    total: {
      range: " ",
      total: "od",
      item: "stavki"
    }
  },
  tableToolBar: {
    leftPin: "Zakači levo",
    rightPin: "Zakači desno",
    noPin: "Nije zakačeno",
    leftFixedTitle: "Fiksirano levo",
    rightFixedTitle: "Fiksirano desno",
    noFixedTitle: "Nije fiksirano",
    reset: "Resetuj",
    columnDisplay: "Prikaz kolona",
    columnSetting: "Podešavanja",
    fullScreen: "Pun ekran",
    exitFullScreen: "Zatvori pun ekran",
    reload: "Osveži",
    density: "Veličina",
    densityDefault: "Podrazumevana",
    densityLarger: "Veća",
    densityMiddle: "Srednja",
    densitySmall: "Kompaktna"
  },
  stepsForm: {
    next: "Dalje",
    prev: "Nazad",
    submit: "Gotovo"
  },
  loginForm: {
    submitText: "Prijavi se"
  },
  editableTable: {
    action: {
      save: "Sačuvaj",
      cancel: "Poništi",
      delete: "Obriši",
      add: "dodajte red podataka"
    }
  },
  switch: {
    open: "Отворите",
    close: "Затворите"
  }
}, pm = {
  moneySymbol: "฿",
  deleteThisLine: "ลบบรรทัดนี้",
  copyThisLine: "คัดลอกบรรทัดนี้",
  form: {
    lightFilter: {
      more: "มากกว่า",
      clear: "ชัดเจน",
      confirm: "ยืนยัน",
      itemUnit: "รายการ"
    }
  },
  tableForm: {
    search: "สอบถาม",
    reset: "รีเซ็ต",
    submit: "ส่ง",
    collapsed: "ขยาย",
    expand: "ทรุด",
    inputPlaceholder: "กรุณาป้อน",
    selectPlaceholder: "โปรดเลือก"
  },
  alert: {
    clear: "ชัดเจน",
    selected: "เลือกแล้ว",
    item: "รายการ"
  },
  pagination: {
    total: {
      range: " ",
      total: "ของ",
      item: "รายการ"
    }
  },
  tableToolBar: {
    leftPin: "ปักหมุดไปทางซ้าย",
    rightPin: "ปักหมุดไปทางขวา",
    noPin: "เลิกตรึงแล้ว",
    leftFixedTitle: "แก้ไขด้านซ้าย",
    rightFixedTitle: "แก้ไขด้านขวา",
    noFixedTitle: "ไม่คงที่",
    reset: "รีเซ็ต",
    columnDisplay: "การแสดงคอลัมน์",
    columnSetting: "การตั้งค่า",
    fullScreen: "เต็มจอ",
    exitFullScreen: "ออกจากโหมดเต็มหน้าจอ",
    reload: "รีเฟรช",
    density: "ความหนาแน่น",
    densityDefault: "ค่าเริ่มต้น",
    densityLarger: "ขนาดใหญ่ขึ้น",
    densityMiddle: "กลาง",
    densitySmall: "กะทัดรัด"
  },
  stepsForm: {
    next: "ถัดไป",
    prev: "ก่อนหน้า",
    submit: "เสร็จ"
  },
  loginForm: {
    submitText: "เข้าสู่ระบบ"
  },
  editableTable: {
    onlyOneLineEditor: "แก้ไขได้เพียงบรรทัดเดียวเท่านั้น",
    action: {
      save: "บันทึก",
      cancel: "ยกเลิก",
      delete: "ลบ",
      add: "เพิ่มแถวของข้อมูล"
    }
  },
  switch: {
    open: "เปิด",
    close: "ปิด"
  }
}, mm = {
  moneySymbol: "₺",
  form: {
    lightFilter: {
      more: "Daha Fazla",
      clear: "Temizle",
      confirm: "Onayla",
      itemUnit: "Öğeler"
    }
  },
  tableForm: {
    search: "Filtrele",
    reset: "Sıfırla",
    submit: "Gönder",
    collapsed: "Daha fazla",
    expand: "Daha az",
    inputPlaceholder: "Filtrelemek için bir değer girin",
    selectPlaceholder: "Filtrelemek için bir değer seçin"
  },
  alert: {
    clear: "Temizle",
    selected: "Seçili",
    item: "Öğe"
  },
  pagination: {
    total: {
      range: " ",
      total: "Toplam",
      item: "Öğe"
    }
  },
  tableToolBar: {
    leftPin: "Sola sabitle",
    rightPin: "Sağa sabitle",
    noPin: "Sabitlemeyi kaldır",
    leftFixedTitle: "Sola sabitlendi",
    rightFixedTitle: "Sağa sabitlendi",
    noFixedTitle: "Sabitlenmedi",
    reset: "Sıfırla",
    columnDisplay: "Kolon Görünümü",
    columnSetting: "Ayarlar",
    fullScreen: "Tam Ekran",
    exitFullScreen: "Tam Ekrandan Çık",
    reload: "Yenile",
    density: "Kalınlık",
    densityDefault: "Varsayılan",
    densityLarger: "Büyük",
    densityMiddle: "Orta",
    densitySmall: "Küçük"
  },
  stepsForm: {
    next: "Sıradaki",
    prev: "Önceki",
    submit: "Gönder"
  },
  loginForm: {
    submitText: "Giriş Yap"
  },
  editableTable: {
    action: {
      save: "Kaydet",
      cancel: "Vazgeç",
      delete: "Sil",
      add: "foegje in rige gegevens ta"
    }
  },
  switch: {
    open: "açık",
    close: "kapatmak"
  }
}, vm = {
  moneySymbol: "₴",
  deleteThisLine: "Видатили рядок",
  copyThisLine: "Скопіювати рядок",
  form: {
    lightFilter: {
      more: "Ще",
      clear: "Очистити",
      confirm: "Ок",
      itemUnit: "Позиції"
    }
  },
  tableForm: {
    search: "Пошук",
    reset: "Очистити",
    submit: "Відправити",
    collapsed: "Розгорнути",
    expand: "Згорнути",
    inputPlaceholder: "Введіть значення",
    selectPlaceholder: "Оберіть значення"
  },
  alert: {
    clear: "Очистити",
    selected: "Обрано",
    item: "елементів"
  },
  pagination: {
    total: {
      range: " ",
      total: "з",
      item: "елементів"
    }
  },
  tableToolBar: {
    leftPin: "Закріпити зліва",
    rightPin: "Закріпити справа",
    noPin: "Відкріпити",
    leftFixedTitle: "Закріплено зліва",
    rightFixedTitle: "Закріплено справа",
    noFixedTitle: "Не закріплено",
    reset: "Скинути",
    columnDisplay: "Відображення стовпців",
    columnSetting: "Налаштування",
    fullScreen: "Повноекранний режим",
    exitFullScreen: "Вийти з повноекранного режиму",
    reload: "Оновити",
    density: "Розмір",
    densityDefault: "За замовчуванням",
    densityLarger: "Великий",
    densityMiddle: "Середній",
    densitySmall: "Стислий"
  },
  stepsForm: {
    next: "Наступний",
    prev: "Попередній",
    submit: "Завершити"
  },
  loginForm: {
    submitText: "Вхіх"
  },
  editableTable: {
    onlyOneLineEditor: "Тільки один рядок може бути редагований одночасно",
    action: {
      save: "Зберегти",
      cancel: "Відмінити",
      delete: "Видалити",
      add: "додати рядок"
    }
  },
  switch: {
    open: "Відкрито",
    close: "Закрито"
  }
}, hm = {
  moneySymbol: "₫",
  form: {
    lightFilter: {
      more: "Nhiều hơn",
      clear: "Trong",
      confirm: "Xác nhận",
      itemUnit: "Mục"
    }
  },
  tableForm: {
    search: "Tìm kiếm",
    reset: "Làm lại",
    submit: "Gửi đi",
    collapsed: "Mở rộng",
    expand: "Thu gọn",
    inputPlaceholder: "nhập dữ liệu",
    selectPlaceholder: "Vui lòng chọn"
  },
  alert: {
    clear: "Xóa",
    selected: "đã chọn",
    item: "mục"
  },
  pagination: {
    total: {
      range: " ",
      total: "trên",
      item: "mặt hàng"
    }
  },
  tableToolBar: {
    leftPin: "Ghim trái",
    rightPin: "Ghim phải",
    noPin: "Bỏ ghim",
    leftFixedTitle: "Cố định trái",
    rightFixedTitle: "Cố định phải",
    noFixedTitle: "Chưa cố định",
    reset: "Làm lại",
    columnDisplay: "Cột hiển thị",
    columnSetting: "Cấu hình",
    fullScreen: "Chế độ toàn màn hình",
    exitFullScreen: "Thoát chế độ toàn màn hình",
    reload: "Làm mới",
    density: "Mật độ hiển thị",
    densityDefault: "Mặc định",
    densityLarger: "Mặc định",
    densityMiddle: "Trung bình",
    densitySmall: "Chật"
  },
  stepsForm: {
    next: "Sau",
    prev: "Trước",
    submit: "Kết thúc"
  },
  loginForm: {
    submitText: "Đăng nhập"
  },
  editableTable: {
    action: {
      save: "Cứu",
      cancel: "Hủy",
      delete: "Xóa",
      add: "thêm một hàng dữ liệu"
    }
  },
  switch: {
    open: "mở",
    close: "đóng"
  }
}, bm = {
  moneySymbol: "¥",
  deleteThisLine: "删除此项",
  copyThisLine: "复制此项",
  form: {
    lightFilter: {
      more: "更多筛选",
      clear: "清除",
      confirm: "确认",
      itemUnit: "项"
    }
  },
  tableForm: {
    search: "查询",
    reset: "重置",
    submit: "提交",
    collapsed: "展开",
    expand: "收起",
    inputPlaceholder: "请输入",
    selectPlaceholder: "请选择"
  },
  alert: {
    clear: "取消选择",
    selected: "已选择",
    item: "项"
  },
  pagination: {
    total: {
      range: "第",
      total: "条/总共",
      item: "条"
    }
  },
  tableToolBar: {
    leftPin: "固定在列首",
    rightPin: "固定在列尾",
    noPin: "不固定",
    leftFixedTitle: "固定在左侧",
    rightFixedTitle: "固定在右侧",
    noFixedTitle: "不固定",
    reset: "重置",
    columnDisplay: "列展示",
    columnSetting: "列设置",
    fullScreen: "全屏",
    exitFullScreen: "退出全屏",
    reload: "刷新",
    density: "密度",
    densityDefault: "正常",
    densityLarger: "默认",
    densityMiddle: "中等",
    densitySmall: "紧凑"
  },
  stepsForm: {
    next: "下一步",
    prev: "上一步",
    submit: "提交"
  },
  loginForm: {
    submitText: "登录"
  },
  editableTable: {
    onlyOneLineEditor: "只能同时编辑一行",
    action: {
      save: "保存",
      cancel: "取消",
      delete: "删除",
      add: "添加一行数据"
    }
  },
  switch: {
    open: "打开",
    close: "关闭"
  }
}, ym = {
  moneySymbol: "NT$",
  deleteThisLine: "刪除此项",
  copyThisLine: "複製此项",
  form: {
    lightFilter: {
      more: "更多篩選",
      clear: "清除",
      confirm: "確認",
      itemUnit: "項"
    }
  },
  tableForm: {
    search: "查詢",
    reset: "重置",
    submit: "提交",
    collapsed: "展開",
    expand: "收起",
    inputPlaceholder: "請輸入",
    selectPlaceholder: "請選擇"
  },
  alert: {
    clear: "取消選擇",
    selected: "已選擇",
    item: "項"
  },
  pagination: {
    total: {
      range: "第",
      total: "條/總共",
      item: "條"
    }
  },
  tableToolBar: {
    leftPin: "固定到左邊",
    rightPin: "固定到右邊",
    noPin: "不固定",
    leftFixedTitle: "固定在左側",
    rightFixedTitle: "固定在右側",
    noFixedTitle: "不固定",
    reset: "重置",
    columnDisplay: "列展示",
    columnSetting: "列設置",
    fullScreen: "全屏",
    exitFullScreen: "退出全屏",
    reload: "刷新",
    density: "密度",
    densityDefault: "正常",
    densityLarger: "默認",
    densityMiddle: "中等",
    densitySmall: "緊湊"
  },
  stepsForm: {
    next: "下一步",
    prev: "上一步",
    submit: "完成"
  },
  loginForm: {
    submitText: "登入"
  },
  editableTable: {
    onlyOneLineEditor: "只能同時編輯一行",
    action: {
      save: "保存",
      cancel: "取消",
      delete: "刪除",
      add: "新增一行資料"
    }
  },
  switch: {
    open: "打開",
    close: "關閉"
  }
};
function Sm(e, t, r) {
  var n = t.replace(/\[(\d+)\]/g, ".$1").split("."), a = e, i = r, o = Up(n), l;
  try {
    for (o.s(); !(l = o.n()).done; ) {
      var s = l.value;
      if (i = Object(a)[s], a = Object(a)[s], i === void 0)
        return r;
    }
  } catch (c) {
    o.e(c);
  } finally {
    o.f();
  }
  return i;
}
var oe = function(t, r) {
  return {
    getMessage: function(a, i) {
      return Sm(r, a, i) || i;
    },
    locale: t
  };
}, xm = oe("mn_MN", lm), Em = oe("ar_EG", qp), Ya = oe("zh_CN", bm), Cm = oe("en_US", Zp), wm = oe("en_GB", Xp), Tm = oe("vi_VN", hm), Pm = oe("it_IT", am), Fm = oe("ja_JP", im), $m = oe("es_ES", Qp), Om = oe("ca_ES", Gp), Rm = oe("ru_RU", dm), _m = oe("sr_RS", gm), km = oe("ms_MY", sm), Mm = oe("zh_TW", ym), Am = oe("fr_FR", em), Im = oe("pt_BR", um), Lm = oe("ko_KR", om), Dm = oe("id_ID", nm), Nm = oe("de_DE", Kp), jm = oe("fa_IR", Jp), Vm = oe("tr_TR", mm), Hm = oe("pl_PL", cm), Bm = oe("hr_", rm), zm = oe("th_TH", pm), Wm = oe("cs_cz", Yp), Um = oe("sk_SK", fm), qm = oe("he_IL", tm), Gm = oe("uk_UA", vm), Oa = {
  "mn-MN": xm,
  "ar-EG": Em,
  "zh-CN": Ya,
  "en-US": Cm,
  "en-GB": wm,
  "vi-VN": Tm,
  "it-IT": Pm,
  "ja-JP": Fm,
  "es-ES": $m,
  "ca-ES": Om,
  "ru-RU": Rm,
  "sr-RS": _m,
  "ms-MY": km,
  "zh-TW": Mm,
  "fr-FR": Am,
  "pt-BR": Im,
  "ko-KR": Lm,
  "id-ID": Dm,
  "de-DE": Nm,
  "fa-IR": jm,
  "tr-TR": Vm,
  "pl-PL": Hm,
  "hr-HR": Bm,
  "th-TH": zm,
  "cs-CZ": Wm,
  "sk-SK": Um,
  "he-IL": qm,
  "uk-UA": Gm
}, Ym = Object.keys(Oa), Km = function(t) {
  var r = (t || "zh-CN").toLocaleLowerCase();
  return Ym.find(function(n) {
    var a = n.toLocaleLowerCase();
    return a.includes(r);
  });
}, jn, fr = {
  blue: "#1677ff",
  purple: "#722ED1",
  cyan: "#13C2C2",
  green: "#52C41A",
  magenta: "#EB2F96",
  pink: "#eb2f96",
  red: "#F5222D",
  orange: "#FA8C16",
  yellow: "#FADB14",
  volcano: "#FA541C",
  geekblue: "#2F54EB",
  gold: "#FAAD14",
  lime: "#A0D911",
  colorPrimary: "#1677ff",
  colorSuccess: "#52c41a",
  colorWarning: "#faad14",
  colorError: "#ff7875",
  colorInfo: "#1677ff",
  colorTextBase: "#000",
  colorBgBase: "#fff",
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
  fontSize: 14,
  lineWidth: 1,
  lineType: "solid",
  motionUnit: 0.1,
  motionBase: 0,
  motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)",
  motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)",
  motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)",
  motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)",
  motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)",
  motionEaseInQuint: "cubic-bezier(0.645, 0.045, 0.355, 1)",
  motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
  borderRadius: 4,
  sizeUnit: 4,
  sizeStep: 4,
  sizePopupArrow: 16,
  controlHeight: 32,
  zIndexBase: 0,
  zIndexPopupBase: 1e3,
  opacityImage: 1,
  wireframe: !1,
  "blue-1": "#e6f4ff",
  "blue-2": "#bae0ff",
  "blue-3": "#91caff",
  "blue-4": "#69b1ff",
  "blue-5": "#4096ff",
  "blue-6": "#1677ff",
  "blue-7": "#0958d9",
  "blue-8": "#003eb3",
  "blue-9": "#002c8c",
  "blue-10": "#001d66",
  "purple-1": "#f9f0ff",
  "purple-2": "#efdbff",
  "purple-3": "#d3adf7",
  "purple-4": "#b37feb",
  "purple-5": "#9254de",
  "purple-6": "#722ed1",
  "purple-7": "#531dab",
  "purple-8": "#391085",
  "purple-9": "#22075e",
  "purple-10": "#120338",
  "cyan-1": "#e6fffb",
  "cyan-2": "#b5f5ec",
  "cyan-3": "#87e8de",
  "cyan-4": "#5cdbd3",
  "cyan-5": "#36cfc9",
  "cyan-6": "#13c2c2",
  "cyan-7": "#08979c",
  "cyan-8": "#006d75",
  "cyan-9": "#00474f",
  "cyan-10": "#002329",
  "green-1": "#f6ffed",
  "green-2": "#d9f7be",
  "green-3": "#b7eb8f",
  "green-4": "#95de64",
  "green-5": "#73d13d",
  "green-6": "#52c41a",
  "green-7": "#389e0d",
  "green-8": "#237804",
  "green-9": "#135200",
  "green-10": "#092b00",
  "magenta-1": "#fff0f6",
  "magenta-2": "#ffd6e7",
  "magenta-3": "#ffadd2",
  "magenta-4": "#ff85c0",
  "magenta-5": "#f759ab",
  "magenta-6": "#eb2f96",
  "magenta-7": "#c41d7f",
  "magenta-8": "#9e1068",
  "magenta-9": "#780650",
  "magenta-10": "#520339",
  "pink-1": "#fff0f6",
  "pink-2": "#ffd6e7",
  "pink-3": "#ffadd2",
  "pink-4": "#ff85c0",
  "pink-5": "#f759ab",
  "pink-6": "#eb2f96",
  "pink-7": "#c41d7f",
  "pink-8": "#9e1068",
  "pink-9": "#780650",
  "pink-10": "#520339",
  "red-1": "#fff1f0",
  "red-2": "#ffccc7",
  "red-3": "#ffa39e",
  "red-4": "#ff7875",
  "red-5": "#ff4d4f",
  "red-6": "#f5222d",
  "red-7": "#cf1322",
  "red-8": "#a8071a",
  "red-9": "#820014",
  "red-10": "#5c0011",
  "orange-1": "#fff7e6",
  "orange-2": "#ffe7ba",
  "orange-3": "#ffd591",
  "orange-4": "#ffc069",
  "orange-5": "#ffa940",
  "orange-6": "#fa8c16",
  "orange-7": "#d46b08",
  "orange-8": "#ad4e00",
  "orange-9": "#873800",
  "orange-10": "#612500",
  "yellow-1": "#feffe6",
  "yellow-2": "#ffffb8",
  "yellow-3": "#fffb8f",
  "yellow-4": "#fff566",
  "yellow-5": "#ffec3d",
  "yellow-6": "#fadb14",
  "yellow-7": "#d4b106",
  "yellow-8": "#ad8b00",
  "yellow-9": "#876800",
  "yellow-10": "#614700",
  "volcano-1": "#fff2e8",
  "volcano-2": "#ffd8bf",
  "volcano-3": "#ffbb96",
  "volcano-4": "#ff9c6e",
  "volcano-5": "#ff7a45",
  "volcano-6": "#fa541c",
  "volcano-7": "#d4380d",
  "volcano-8": "#ad2102",
  "volcano-9": "#871400",
  "volcano-10": "#610b00",
  "geekblue-1": "#f0f5ff",
  "geekblue-2": "#d6e4ff",
  "geekblue-3": "#adc6ff",
  "geekblue-4": "#85a5ff",
  "geekblue-5": "#597ef7",
  "geekblue-6": "#2f54eb",
  "geekblue-7": "#1d39c4",
  "geekblue-8": "#10239e",
  "geekblue-9": "#061178",
  "geekblue-10": "#030852",
  "gold-1": "#fffbe6",
  "gold-2": "#fff1b8",
  "gold-3": "#ffe58f",
  "gold-4": "#ffd666",
  "gold-5": "#ffc53d",
  "gold-6": "#faad14",
  "gold-7": "#d48806",
  "gold-8": "#ad6800",
  "gold-9": "#874d00",
  "gold-10": "#613400",
  "lime-1": "#fcffe6",
  "lime-2": "#f4ffb8",
  "lime-3": "#eaff8f",
  "lime-4": "#d3f261",
  "lime-5": "#bae637",
  "lime-6": "#a0d911",
  "lime-7": "#7cb305",
  "lime-8": "#5b8c00",
  "lime-9": "#3f6600",
  "lime-10": "#254000",
  colorText: "rgba(0, 0, 0, 0.88)",
  colorTextSecondary: "rgba(0, 0, 0, 0.65)",
  colorTextTertiary: "rgba(0, 0, 0, 0.45)",
  colorTextQuaternary: "rgba(0, 0, 0, 0.25)",
  colorFill: "rgba(0, 0, 0, 0.15)",
  colorFillSecondary: "rgba(0, 0, 0, 0.06)",
  colorFillTertiary: "rgba(0, 0, 0, 0.04)",
  colorFillQuaternary: "rgba(0, 0, 0, 0.02)",
  colorBgLayout: "hsl(220,23%,97%)",
  colorBgContainer: "#ffffff",
  colorBgElevated: "#ffffff",
  colorBgSpotlight: "rgba(0, 0, 0, 0.85)",
  colorBorder: "#d9d9d9",
  colorBorderSecondary: "#f0f0f0",
  colorPrimaryBg: "#e6f4ff",
  colorPrimaryBgHover: "#bae0ff",
  colorPrimaryBorder: "#91caff",
  colorPrimaryBorderHover: "#69b1ff",
  colorPrimaryHover: "#4096ff",
  colorPrimaryActive: "#0958d9",
  colorPrimaryTextHover: "#4096ff",
  colorPrimaryText: "#1677ff",
  colorPrimaryTextActive: "#0958d9",
  colorSuccessBg: "#f6ffed",
  colorSuccessBgHover: "#d9f7be",
  colorSuccessBorder: "#b7eb8f",
  colorSuccessBorderHover: "#95de64",
  colorSuccessHover: "#95de64",
  colorSuccessActive: "#389e0d",
  colorSuccessTextHover: "#73d13d",
  colorSuccessText: "#52c41a",
  colorSuccessTextActive: "#389e0d",
  colorErrorBg: "#fff2f0",
  colorErrorBgHover: "#fff1f0",
  colorErrorBorder: "#ffccc7",
  colorErrorBorderHover: "#ffa39e",
  colorErrorHover: "#ffa39e",
  colorErrorActive: "#d9363e",
  colorErrorTextHover: "#ff7875",
  colorErrorText: "#ff4d4f",
  colorErrorTextActive: "#d9363e",
  colorWarningBg: "#fffbe6",
  colorWarningBgHover: "#fff1b8",
  colorWarningBorder: "#ffe58f",
  colorWarningBorderHover: "#ffd666",
  colorWarningHover: "#ffd666",
  colorWarningActive: "#d48806",
  colorWarningTextHover: "#ffc53d",
  colorWarningText: "#faad14",
  colorWarningTextActive: "#d48806",
  colorInfoBg: "#e6f4ff",
  colorInfoBgHover: "#bae0ff",
  colorInfoBorder: "#91caff",
  colorInfoBorderHover: "#69b1ff",
  colorInfoHover: "#69b1ff",
  colorInfoActive: "#0958d9",
  colorInfoTextHover: "#4096ff",
  colorInfoText: "#1677ff",
  colorInfoTextActive: "#0958d9",
  colorBgMask: "rgba(0, 0, 0, 0.45)",
  colorWhite: "#fff",
  sizeXXL: 48,
  sizeXL: 32,
  sizeLG: 24,
  sizeMD: 20,
  sizeMS: 16,
  size: 16,
  sizeSM: 12,
  sizeXS: 8,
  sizeXXS: 4,
  controlHeightSM: 24,
  controlHeightXS: 16,
  controlHeightLG: 40,
  motionDurationFast: "0.1s",
  motionDurationMid: "0.2s",
  motionDurationSlow: "0.3s",
  fontSizes: [12, 14, 16, 20, 24, 30, 38, 46, 56, 68],
  lineHeights: [1.6666666666666667, 1.5714285714285714, 1.5, 1.4, 1.3333333333333333, 1.2666666666666666, 1.2105263157894737, 1.173913043478261, 1.1428571428571428, 1.1176470588235294],
  lineWidthBold: 2,
  borderRadiusXS: 1,
  borderRadiusSM: 4,
  borderRadiusLG: 8,
  borderRadiusOuter: 4,
  colorLink: "#1677ff",
  colorLinkHover: "#69b1ff",
  colorLinkActive: "#0958d9",
  colorFillContent: "rgba(0, 0, 0, 0.06)",
  colorFillContentHover: "rgba(0, 0, 0, 0.15)",
  colorFillAlter: "rgba(0, 0, 0, 0.02)",
  colorBgContainerDisabled: "rgba(0, 0, 0, 0.04)",
  colorBorderBg: "#ffffff",
  colorSplit: "rgba(5, 5, 5, 0.06)",
  colorTextPlaceholder: "rgba(0, 0, 0, 0.25)",
  colorTextDisabled: "rgba(0, 0, 0, 0.25)",
  colorTextHeading: "rgba(0, 0, 0, 0.88)",
  colorTextLabel: "rgba(0, 0, 0, 0.65)",
  colorTextDescription: "rgba(0, 0, 0, 0.45)",
  colorTextLightSolid: "#fff",
  colorHighlight: "#ff7875",
  colorBgTextHover: "rgba(0, 0, 0, 0.06)",
  colorBgTextActive: "rgba(0, 0, 0, 0.15)",
  colorIcon: "rgba(0, 0, 0, 0.45)",
  colorIconHover: "rgba(0, 0, 0, 0.88)",
  colorErrorOutline: "rgba(255, 38, 5, 0.06)",
  colorWarningOutline: "rgba(255, 215, 5, 0.1)",
  fontSizeSM: 12,
  fontSizeLG: 16,
  fontSizeXL: 20,
  fontSizeHeading1: 38,
  fontSizeHeading2: 30,
  fontSizeHeading3: 24,
  fontSizeHeading4: 20,
  fontSizeHeading5: 16,
  fontSizeIcon: 12,
  lineHeight: 1.5714285714285714,
  lineHeightLG: 1.5,
  lineHeightSM: 1.6666666666666667,
  lineHeightHeading1: 1.2105263157894737,
  lineHeightHeading2: 1.2666666666666666,
  lineHeightHeading3: 1.3333333333333333,
  lineHeightHeading4: 1.4,
  lineHeightHeading5: 1.5,
  controlOutlineWidth: 2,
  controlInteractiveSize: 16,
  controlItemBgHover: "rgba(0, 0, 0, 0.04)",
  controlItemBgActive: "#e6f4ff",
  controlItemBgActiveHover: "#bae0ff",
  controlItemBgActiveDisabled: "rgba(0, 0, 0, 0.15)",
  controlTmpOutline: "rgba(0, 0, 0, 0.02)",
  controlOutline: "rgba(5, 145, 255, 0.1)",
  fontWeightStrong: 600,
  opacityLoading: 0.65,
  linkDecoration: "none",
  linkHoverDecoration: "none",
  linkFocusDecoration: "none",
  controlPaddingHorizontal: 12,
  controlPaddingHorizontalSM: 8,
  paddingXXS: 4,
  paddingXS: 8,
  paddingSM: 12,
  padding: 16,
  paddingMD: 20,
  paddingLG: 24,
  paddingXL: 32,
  paddingContentHorizontalLG: 24,
  paddingContentVerticalLG: 16,
  paddingContentHorizontal: 16,
  paddingContentVertical: 12,
  paddingContentHorizontalSM: 16,
  paddingContentVerticalSM: 8,
  marginXXS: 4,
  marginXS: 8,
  marginSM: 12,
  margin: 16,
  marginMD: 20,
  marginLG: 24,
  marginXL: 32,
  marginXXL: 48,
  boxShadow: "0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",
  boxShadowSecondary: "0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",
  screenXS: 480,
  screenXSMin: 480,
  screenXSMax: 479,
  screenSM: 576,
  screenSMMin: 576,
  screenSMMax: 575,
  screenMD: 768,
  screenMDMin: 768,
  screenMDMax: 767,
  screenLG: 992,
  screenLGMin: 992,
  screenLGMax: 991,
  screenXL: 1200,
  screenXLMin: 1200,
  screenXLMax: 1199,
  screenXXL: 1600,
  screenXXLMin: 1600,
  screenXXLMax: 1599,
  boxShadowPopoverArrow: "3px 3px 7px rgba(0, 0, 0, 0.1)",
  boxShadowCard: "0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",
  boxShadowDrawerRight: "-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",
  boxShadowDrawerLeft: "6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",
  boxShadowDrawerUp: "0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",
  boxShadowDrawerDown: "0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",
  boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
  boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
  boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
  boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",
  _tokenKey: "19w80ff",
  _hashId: "css-dev-only-do-not-override-i2zu9q"
}, ms = function(t) {
  for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, n = 3735928559 ^ r, a = 1103547991 ^ r, i = 0, o; i < t.length; i++)
    o = t.charCodeAt(i), n = Math.imul(n ^ o, 2654435761), a = Math.imul(a ^ o, 1597334677);
  return n = Math.imul(n ^ n >>> 16, 2246822507) ^ Math.imul(a ^ a >>> 13, 3266489909), a = Math.imul(a ^ a >>> 16, 2246822507) ^ Math.imul(n ^ n >>> 13, 3266489909), 4294967296 * (2097151 & a) + (n >>> 0);
}, Ka = qr(function(e) {
  return e;
}), vs = {
  theme: Ka,
  token: F(F({}, fr), Be === null || Be === void 0 || (jn = Be.defaultAlgorithm) === null || jn === void 0 ? void 0 : jn.call(Be, Be === null || Be === void 0 ? void 0 : Be.defaultSeed)),
  hashId: "pro-".concat(ms(JSON.stringify(fr)))
}, Xm = function() {
  return vs;
};
const Zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  defaultToken: fr,
  emptyTheme: Ka,
  hashCode: ms,
  token: vs,
  useToken: Xm
}, Symbol.toStringTag, { value: "Module" }));
var De = function(t, r) {
  return new Te(t).setAlpha(r).toRgbString();
}, Qm = function() {
  return typeof Be > "u" || !Be ? Zm : Be;
}, gr = Qm();
gr.useToken;
var Jm = function(t, r) {
  var n, a, i, o, l, s = F({}, t);
  return F(F({
    bgLayout: "linear-gradient(".concat(r.colorBgContainer, ", ").concat(r.colorBgLayout, " 28%)"),
    colorTextAppListIcon: r.colorTextSecondary,
    appListIconHoverBgColor: s == null || (n = s.sider) === null || n === void 0 ? void 0 : n.colorBgMenuItemSelected,
    colorBgAppListIconHover: De(r.colorTextBase, 0.04),
    colorTextAppListIconHover: r.colorTextBase
  }, s), {}, {
    header: F({
      colorBgHeader: De(r.colorBgElevated, 0.6),
      colorBgScrollHeader: De(r.colorBgElevated, 0.8),
      colorHeaderTitle: r.colorText,
      colorBgMenuItemHover: De(r.colorTextBase, 0.03),
      colorBgMenuItemSelected: "transparent",
      colorBgMenuElevated: (s == null || (a = s.header) === null || a === void 0 ? void 0 : a.colorBgHeader) !== "rgba(255, 255, 255, 0.6)" ? (i = s.header) === null || i === void 0 ? void 0 : i.colorBgHeader : r.colorBgElevated,
      colorTextMenuSelected: De(r.colorTextBase, 0.95),
      colorBgRightActionsItemHover: De(r.colorTextBase, 0.03),
      colorTextRightActionsItem: r.colorTextTertiary,
      heightLayoutHeader: 56,
      colorTextMenu: r.colorTextSecondary,
      colorTextMenuSecondary: r.colorTextTertiary,
      colorTextMenuTitle: r.colorText,
      colorTextMenuActive: r.colorText
    }, s.header),
    sider: F({
      paddingInlineLayoutMenu: 8,
      paddingBlockLayoutMenu: 0,
      colorBgCollapsedButton: r.colorBgElevated,
      colorTextCollapsedButtonHover: r.colorTextSecondary,
      colorTextCollapsedButton: De(r.colorTextBase, 0.25),
      colorMenuBackground: "transparent",
      colorMenuItemDivider: De(r.colorTextBase, 0.06),
      colorBgMenuItemHover: De(r.colorTextBase, 0.03),
      colorBgMenuItemSelected: De(r.colorTextBase, 0.04),
      colorTextMenuItemHover: r.colorText,
      colorTextMenuSelected: De(r.colorTextBase, 0.95),
      colorTextMenuActive: r.colorText,
      colorTextMenu: r.colorTextSecondary,
      colorTextMenuSecondary: r.colorTextTertiary,
      colorTextMenuTitle: r.colorText,
      colorTextSubMenuSelected: De(r.colorTextBase, 0.95)
    }, s.sider),
    pageContainer: F({
      colorBgPageContainer: "transparent",
      paddingInlinePageContainerContent: ((o = s.pageContainer) === null || o === void 0 ? void 0 : o.marginInlinePageContainerContent) || 40,
      paddingBlockPageContainerContent: ((l = s.pageContainer) === null || l === void 0 ? void 0 : l.marginBlockPageContainerContent) || 32,
      colorBgPageContainerFixed: r.colorBgElevated
    }, s.pageContainer)
  });
}, ev = function() {
  for (var t = {}, r = arguments.length, n = new Array(r), a = 0; a < r; a++)
    n[a] = arguments[a];
  for (var i = n.length, o, l = 0; l < i; l += 1)
    for (o in n[l])
      n[l].hasOwnProperty(o) && (J(t[o]) === "object" && J(n[l][o]) === "object" && t[o] !== void 0 && t[o] !== null && !Array.isArray(t[o]) && !Array.isArray(n[l][o]) ? t[o] = F(F({}, t[o]), n[l][o]) : t[o] = n[l][o]);
  return t;
}, tv = { exports: {} };
(function(e, t) {
  (function(r, n) {
    e.exports = n(go);
  })(Xs, function(r) {
    function n(o) {
      return o && typeof o == "object" && "default" in o ? o : { default: o };
    }
    var a = n(r), i = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(o, l) {
      return l === "W" ? o + "周" : o + "日";
    }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(o, l) {
      var s = 100 * o + l;
      return s < 600 ? "凌晨" : s < 900 ? "早上" : s < 1100 ? "上午" : s < 1300 ? "中午" : s < 1800 ? "下午" : "晚上";
    } };
    return a.default.locale(i, null, !0), i;
  });
})(tv);
var rv = ["locale", "getPrefixCls"], nv = ["locale", "theme"], co = function() {
  var t, r;
  return !(typeof process < "u" && (((t = process.env.NODE_ENV) === null || t === void 0 ? void 0 : t.toUpperCase()) === "TEST" || ((r = process.env.NODE_ENV) === null || r === void 0 ? void 0 : r.toUpperCase()) === "DEV"));
}, pr = /* @__PURE__ */ q.createContext({
  intl: F(F({}, Ya), {}, {
    locale: "default"
  }),
  valueTypeMap: {},
  theme: Ka,
  hashed: !0,
  dark: !1,
  token: fr
});
pr.Consumer;
var av = function() {
  var t = Bp(), r = t.cache;
  return Ne(function() {
    return function() {
      r.clear();
    };
  }, []), null;
}, iv = function(t) {
  var r, n = t.children, a = t.dark, i = t.valueTypeMap, o = t.autoClearCache, l = o === void 0 ? !1 : o, s = t.token, c = t.prefixCls, u = we(or.ConfigContext), d = u.locale, f = u.getPrefixCls, h = je(u, rv), b = (r = gr.useToken) === null || r === void 0 ? void 0 : r.call(gr), p = we(pr), g = c ? ".".concat(c) : ".".concat(f(), "-pro"), m = "." + f(), y = "".concat(g), v = ct(function() {
    return Jm(s || {}, b.token || fr);
  }, [s, b.token]), x = ct(function() {
    var M, I = d == null ? void 0 : d.locale, H = Km(I), O = I && ((M = p.intl) === null || M === void 0 ? void 0 : M.locale) === "default" ? Oa[H] : p.intl || Oa[H];
    return F(F({}, p), {}, {
      dark: a ?? p.dark,
      token: ev(p.token, b.token, {
        proComponentsCls: g,
        antCls: m,
        themeId: b.theme.id,
        layout: v
      }),
      intl: O || Ya
    });
  }, [d == null ? void 0 : d.locale, p, a, b.token, b.theme.id, g, m, v]), C = F(F({}, x.token || {}), {}, {
    proComponentsCls: g
  }), E = qo(b.theme, [b.token, C ?? {}], {
    salt: y,
    override: C
  }), S = U(E, 2), $ = S[0], k = S[1], _ = ct(function() {
    return !(t.hashed === !1 || p.hashed === !1);
  }, [p.hashed, t.hashed]), L = ct(function() {
    return t.hashed === !1 || p.hashed === !1 || co() === !1 ? "" : k;
  }, [k, p.hashed, t.hashed]);
  Ne(function() {
    go.locale((d == null ? void 0 : d.locale) || "zh-cn");
  }, [d == null ? void 0 : d.locale]);
  var A = ct(function() {
    var M = F(F({}, h.theme), {}, {
      hashId: L,
      hashed: _ && co()
    });
    return /* @__PURE__ */ ne(or, F(F({}, h), {}, {
      theme: F({}, M),
      children: /* @__PURE__ */ ne(pr.Provider, {
        value: F(F({}, x), {}, {
          valueTypeMap: i || (x == null ? void 0 : x.valueTypeMap),
          token: $,
          theme: b.theme,
          hashed: _,
          hashId: L
        }),
        children: /* @__PURE__ */ Ms(mr, {
          children: [l && /* @__PURE__ */ ne(av, {}), n]
        })
      })
    }));
  }, [l, n, f, L, d, x, $]);
  return l ? /* @__PURE__ */ ne(Wp, {
    value: {
      provider: function() {
        return /* @__PURE__ */ new Map();
      }
    },
    children: A
  }) : A;
}, ov = function(t) {
  var r = t.needDeps, n = t.dark, a = t.token, i = we(pr), o = we(or.ConfigContext), l = o.locale, s = o.theme, c = je(o, nv), u = r && i.hashId !== void 0 && Object.keys(t).sort().join("-") === "children-needDeps";
  if (u)
    return /* @__PURE__ */ ne(mr, {
      children: t.children
    });
  var d = function() {
    var b = n ?? i.dark;
    return b && !Array.isArray(s == null ? void 0 : s.algorithm) ? [gr.darkAlgorithm, s == null ? void 0 : s.algorithm].filter(Boolean) : b && Array.isArray(s == null ? void 0 : s.algorithm) ? [gr.darkAlgorithm].concat(Y((s == null ? void 0 : s.algorithm) || [])).filter(Boolean) : s == null ? void 0 : s.algorithm;
  }, f = F(F({}, c), {}, {
    locale: l || vp,
    theme: lv(F(F({}, s), {}, {
      algorithm: d()
    }))
  });
  return /* @__PURE__ */ ne(or, F(F({}, f), {}, {
    children: /* @__PURE__ */ ne(iv, F(F({}, t), {}, {
      token: a
    }))
  }));
};
pr.displayName = "ProProvider";
var lv = function(t) {
  var r = {};
  if (Object.keys(t || {}).forEach(function(n) {
    t[n] !== void 0 && (r[n] = t[n]);
  }), !(Object.keys(r).length < 1))
    return r;
}, hv = function() {
  return ne(mr, { children: ne(ov, { hashed: !1, children: ne(or, { theme: { algorithm: Be.defaultAlgorithm, token: { colorPrimary: "red" } }, componentSize: "small", locale: dp, children: ne(Ws, { children: ne(tp, {}) }) }) }) });
};
export {
  hv as WmsApp,
  Jg as WmsRouterConfig,
  vv as ZoomWmsRouter,
  ep as wmsRouter
};
